Giter Club home page Giter Club logo

Comments (10)

mpetuska avatar mpetuska commented on May 18, 2024 2

Terraform infra for the az backend setup.

from spotiflyer.

mpetuska avatar mpetuska commented on May 18, 2024 1

Ah, gotcha. Will setup that cors anywhere on azure for you tomorrow then.

from spotiflyer.

Shabinder avatar Shabinder commented on May 18, 2024

Yeah I would love it ,
one more main thing that needs to be done is setup a proxy server , here is the repo:
https://github.com/Shabinder/cors-anywhere

I did tried setting this server on azure ,but on education plan ,this server sleeps after time and when a new request is made the client has to wait for almost 10-13 secs.

from spotiflyer.

mpetuska avatar mpetuska commented on May 18, 2024

Yeah, had exact same issues with kamp (my open source website). Only that cold starts were going into minutes, not seconds :D Quick hack to keep it alive is to setup uptimerobot that pings it every 5 mins ;) That way it's "hot" 100% of the time, while still working on the free azure app service plan.

Anyways, I can't seem to find your backend. Invite me to that project if it's private and I can raise a PR for your terraform infra setup on azure free tier.

from spotiflyer.

Shabinder avatar Shabinder commented on May 18, 2024

Yeah, had exact same issues with kamp (my open source website). Only that cold starts were going into minutes, not seconds :D Quick hack to keep it alive is to setup uptimerobot that pings it every 5 mins ;) That way it's "hot" 100% of the time, while still working on the free azure app service plan.

Anyways, I can't seem to find your backend. Invite me to that project if it's private and I can raise a PR for your terraform infra setup on azure free tier.

Ohh yeah I forgot to invite you to the repo, you will recieve the invite in a few seconds....

EDIT: Invite sent.
image

from spotiflyer.

mpetuska avatar mpetuska commented on May 18, 2024

I'm a bit confused then. Do you not have dedicated backend for your web client?

Actually, it'd help a ton if you could just list out what infrastructure you need and I then could take care of setting it up for you.

from spotiflyer.

Shabinder avatar Shabinder commented on May 18, 2024

I'm a bit confused then. Do you not have dedicated backend for your web client?

Actually, it'd help a ton if you could just list out what infrastructure you need and I then could take care of setting it up for you.

Due to lack of hardware at disposal, I built everything with a focus to keep most of the work on client , so there is absolute no backend for desktop and android ,but in web I couldnt make cross origin request , so i needed to deploy a proxy server for web app , to making requests.

I am currently hosting that on my raspberry pi ,and for website I am using Github Pages and Github Workflow Actions for automatic Deploys.

So the only thing as close to a backend is that proxy server which keeps web app usable.

from spotiflyer.

Shabinder avatar Shabinder commented on May 18, 2024

@mpetuska hey, I am also planning to host FFmpeg, is azure a good fit for it? Will it be able to handle all the load?

from spotiflyer.

mpetuska avatar mpetuska commented on May 18, 2024

Not sure what that is, but if you can dockerize it then it should be fine.

from spotiflyer.

Shabinder avatar Shabinder commented on May 18, 2024

Not sure what that is, but if you can dockerize it then it should be fine.

ohhkay , However I am looking at client side options, but it is platform specific , so a lot of work is required from my side....
will see how it goes.

from spotiflyer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.