5 ms·
I think it could make sense if your traffic has a large difference between peak and trough, and you can reliably and automatically scale your system up and down
by toast0 8y ago
I think it could make sense if your traffic has a large difference between peak and trough, and you can reliably and automatically scale your system up and down throughout the day; and even more if you can make use of spot pricing. Bare metal makes a lot of sense when you're using the capabilities of a full machine (or several), but provisioning isn't usually fast enough to deal with short term load management.
- ju-st 8y agoIs this a real thing or a urban legend? Does anyone have real examples?
- TheDong 8y agoAutoscaling groups on AWS are very real, very old, and very widely used. The Amazon Retail site scales its machines up and down. Netflix built a tool called "scryer" to guess when to spin up and down instances more accurately [0]. Jenkins has a series of plugins for provisioning workers on-demand, and multiple companies I've worked at have used that plugin (or a variant of it) to spin up CI workers when needed (during the work day usually) and shut them down when not needed. Clearly this is something that real companies do. If you wish to spend some time googling on how people use Autoscaling groups, you'll find many other examples. [0]: https://medium.com/netflix-techblog/scryer-netflixs-predictive-auto-scaling-engine-a3f8fc922270 https://medium.com/netflix-techblog/scryer-netflixs-predicti...
- ju-st 8y agoBut I suppose it's still not cheaper than just renting enough Hetzner servers for the peak?
- scarface74 8y agoWe have a peak where we use 16 instances for about two hours for the throughput we want and a trough where we only use one. The T2 instances are really cheap. This is a back end ETL message processing job. We also do an immutable deployment for our web stack - we spin up a completely new stack - VMs, autoscaling groups, load balancers, etc. test it, slowly move users over to it and then kill the old stack. That doesn’t even include all of the managed services we use and don’t have to worry about managing the underlying servers.
- eloff 8y agoBut at an 8:1 price, why not just over-provision by 4x and save 50% of your HW budget? How many people really have situations where the difference between peak and trough is that extreme? It's way better to have the capacity sitting idle than to be scaling it up and down, not to mention it will help smooth out tail latency to be over-provisioned by that much too.
- cobookman 8y agoIt's not that uncommon actually. E-commerce, viral, social media, news are all examples.
- akvadrako 8y agoBecause maybe you have a 1M:1 peak/idle traffic ratio, for example if customers run once-daily batch jobs.
- zaarn 8y agoIf you run all your customer's daily batch jobs at the same time, I hope you charge extra for that time slot. I'd simply spread out these jobs over time and have customers pay to get specific timeslots, which you can fill costs for the baremetal servers. And when not in direct use, you can surely find something else for the server to run on it's CPU (or simply put it in standby and do WoL when needed).