3 ms·
Even with a cap, a rogue line or a legitimate surge in traffic could shut down your app. It's endless bill monitoring and budget approval. I'll stick to a fla
by everdev 8y ago
Even with a cap, a rogue line or a legitimate surge in traffic could shut down your app.
It's endless bill monitoring and budget approval.
I'll stick to a flat rate DO droplet.
- heavenlyblue 8y agoWell, a rogue line could potentially as much shut down your app hosted in DO.
- tgsovlerkhgsel 8y agoThat's the thing though: If you're a big company, your site being down is much scarier than a 100x bill. When you're an individual, the potential for a $10k bill is much scarier than your hobby project going down. When you're a small org/startup, the potential for a $75k bill is probably still scarier than your site going down.
- heavenlyblue 8y agoWell, then the issue with the Amazon Lambda is not that of it's ability to scale, but that of it's default not to limit your spending.
- marktangotango 8y agoWhat’s the difference between a cap limiting your traffic and server cpu maxed out, or db connection pool or ... limiting your traffic?
- Something1234 8y agoOne bankrupts you, the other just has a minor hiccup with a few lost customers that day.
- ithkuil 8y agoa (cost) cap is a feature designed to prevent you from going bankrupt but at the expense of not recovering from the surge after you deplete the cap until the end of the cap granularity. So, if the cost cap is defined as $n per day, once you deplete it you'll be down for the rest of the day (or if you take some manual action to increase the cap, if the cloud provider supports it). This problem is a function of the granularity. Imagine a system that let you say: "I want to spend max $n per second with a extra burst of $m per day/week" You adjust your "$n" to match the throughput you'd have if you had a fixed size "pay what you provision" system and reserve $m for lucky events as landing on HN. The amount of planning you have to do is similar to the traditional resource allocation, but with the benefit of paying less than provisioned if you're not getting all that traffic.
- deleted 8y ago[deleted]
- vbezhenar 8y agoIs it possible to make a similar approach in cloud? Something like "if traffic goes up, scale up until $5/month and then don't scale further, let it be slow (or even better throw errors)". Would be the best of both worlds.
- Xorlev 8y agoFor services that are pay per request, this is effectively a hard cap. For more capacity based services, sure, but it's more likely to be down than just slow. When systems are run at their limit they rarely operate the way they did with a little less traffic.