by 8fingerlouie · 1y ago · 0 comments
If running on your own data center, or renting physical/virtual machines from ie Hetzner, you will pay for that capability overhead for 30.5 days per month, when in reality you only need it for 2-3 days.
With the cloud you can simply scale dynamically, and while you end up paying more for the capacity, you only pay when you use it, meaning you save money for most of the month.
I keep seeing this take on here and it just shows most people don't actually know what you can do off the cloud. Hertzner allows you to rent servers by the hour, so you can just do that and only pay for the 2-3 days you need them.
More likely load will spread over time for most scenarios and the server will be ready to handle that with lower hardware specs.
People receive paychecks, pay bills, buy stuff, with holidays (christmas, x-mas, etc) being even busier.
Load does not even out, and when you have 3 million customers or more, the load is not really insignificant. Nor can you just delay it, or rely on eventual consistency.
Tricky networking though.
And data storage/locality/consistency.
But if that is your bottleneck you should be upgrading your DB system regardless of whether you’re on cloud or bare metal.
Yes, you can solve the problem with sharding and other tricks, but for many banks, the mainframe is still their main data storage, and it has 60+ years of legacy code on it that is not easily or quickly migrated to modern architecture.