I was always too afraid to even consider infinitely scaling solution. Limited egress on most VPS is haunting me already, the thought that during my sleep I could receive a bill like that... I just would not handle it.
Are there any providers that let you set a hard $$ limit where they stop your app and billing. I think Firebase does but for example aws just sends a budget warning ( if I’m right).
Melkey never used a VPS honestly but it does not seem that complicated, but for someone from Europe, if you put a VPS in Europe wouldn't that affect the experience of American users?
@@NoauticHound Thats a bad thing? planning to do something similar, dont worry its not for a production app just personal stuff Thats being said theres a web app too which is the entire netxjs project and the mobile app just uses api routes from next for backend stuff
@@wiztek1197 Not inherently a bad thing. But each API call is a serverless function. And I guess she forgot that there were too many invocations on the mobile app. I guess she forgot to implement a proper caching layer by either using the fetch API or a redis kv store.
I hope you all enjoy! Let me know what you think in the comments and dont forget to like : )
Melkey check your audio against another video, you are HELLA quiet and it's not just in this video
This is why all my 0 user applications are built to scale with costs in mind
Grammar police here: effects = affects?
I won't press charges, only the like button
oh god im changing
I know about Serverless functions now and I' afraid to us it.
I was always too afraid to even consider infinitely scaling solution. Limited egress on most VPS is haunting me already, the thought that during my sleep I could receive a bill like that... I just would not handle it.
Are there any providers that let you set a hard $$ limit where they stop your app and billing. I think Firebase does but for example aws just sends a budget warning ( if I’m right).
Yes, Vercel
You can do a tricky thing with AWS and have a lambda get alerted by a billing alarm and that lambda triggers your main one to stop i think
Melkey never used a VPS honestly but it does not seem that complicated, but for someone from Europe, if you put a VPS in Europe wouldn't that affect the experience of American users?
Love this! "There is no free lunch"
I don't want to be the grammar police, but you should change the title to "affect", not "effect".
I love your content, keep up the good work!
Cara had no optimizations like caching to avoid this.
She was using api routes in next as a backend for the mobile app
@@NoauticHound lmao
@@NoauticHounddamn really
@@NoauticHound Thats a bad thing? planning to do something similar, dont worry its not for a production app just personal stuff
Thats being said theres a web app too which is the entire netxjs project and the mobile app just uses api routes from next for backend stuff
@@wiztek1197 Not inherently a bad thing. But each API call is a serverless function. And I guess she forgot that there were too many invocations on the mobile app. I guess she forgot to implement a proper caching layer by either using the fetch API or a redis kv store.
Set a limit and use a prepaid card!!! Also first comment shout out Melkey thanks for helping me grow my channel!!!
Be sure they don’t keep charging when the card runs out. You might still be on the hook
:)
I have a monolith and I still have more services than users
Serverless gets too much hate.
Nah, certain serverless providers get too much hate.
Yeah - i think its the providers more than anything
24166% wtf 😅
I am telling you don’t do videos of this format and if you do keep it short and sweet.