EasyConceptScaling and reliability scenarios
Your single app server is maxed out. Compare buying a bigger machine with adding more machines.
What a good answer covers
Vertical adds power to one machine, horizontal adds more machines, which scales further but needs statelessness or partitioning.
PreviousMessages are processed twice after a consumer crash. How do you make it safe?Next Choose a database for a chat history store at massive write volume.
More on Scaling and reliability scenarios
Flashcards for this topic- MediumYour database CPU is at 90% during peak. What do you do in order?
- HardA cache failure sends all traffic to the database and it collapses. How do you prevent this?
- HardHow do you migrate a monolith database to sharded storage with zero downtime?
- MediumExplain consistent hashing and why it is used.