HardScenarioScaling and reliability scenarios
Messages are processed twice after a consumer crash. How do you make it safe?
This answer is part of Pro
38 of 288 System design answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow do you guarantee an order row and its OrderPlaced event are never out of sync?Next Your single app server is maxed out. Compare buying a bigger machine with adding more machines.
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.