Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The Fundamental Mechanism of Scaling (brooker.co.za)
32 points by yagizdegirmenci on July 18, 2021 | hide | past | favorite | 4 comments


This is what I came to conslusion that a system without any dependencies can scale easiser.

For my email forwarding app (https://hanami.run), our web tier can down, and even the database can down but the mail servers to handle incoming emails and forward out can tolerate database outage.

For my particular use case, the mail servers boot then load entire state that they need into its cache, then write this to a local LevelDB. Incoming email is persisted into this LevelDB too. Then another thread will flush mail to Postgres if needed.

By this simple design, we can even survive data center outage because the mail servers has all the state it need. Granted that during the outage, no one can signed up(web tier and control panel are down), but at least existing user won't be affected


> a system without any dependencies can scale easiser

This is true for teams and projects too.


> The fundamental tool of cloud scaling is coordination avoidance.

Having many systems rather than one is the ultimate scaling hack.


Or the middle ground "eventual consistency"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: