3 ms·
the whole concept of a need to spin up more VM instances to meet increased load is flawed and is driven by cloud vendors to make money. if you are spinning up
by slt2021 4y ago
the whole concept of a need to spin up more VM instances to meet increased load is flawed and is driven by cloud vendors to make money.
if you are spinning up and shutting down VMs to meet demand curve - something is seriously wrong with your architecture.
Did it ever occur to you, how come stackoverflow uses ~8 dedicated servers to serve entire world and doesn't need to spin up and shutdown VMs to meet global customer demand?
--
When planning compute infrastructure, it is important to go back to basics and not fall for cloud vendor's propaganda
- selcuka 4y ago> serve entire world and doesn't need to spin up and shutdown VMs to meet global customer demand? You said it yourself. Not all applications need to serve entire world, therefore demand will be lower when people go to sleep. Even with global applications there are regulations that require you to host applications and data in specific regions. Imagine an application that is used by customers in Europe, Australia, and the US. They need to be served from regional data centres, and one cluster will be mostly sleeping when the other is running (because of timezones). With dedicated servers you would waste 60-70% of your resources, while using something like EC2/Fargate you can scale down to almost 0 when your region is sleeping.