System Design
12. Reliability and Fault ToleranceAnimated
Redundancy
Having spare components.
The idea
Duplicate servers, links and data so failures are absorbed.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Keep more than one copy of every critical component.
- step:
- 1/4
- at:
- Request
1/9
The green dot is a request moving through the system.
Step by step
- 1Add extra instances
- 2Spread across zones
- 3Share load or stay on standby
- 4Replace failed ones
Where it is used
Availability.
Watch out for
Redundant parts with a shared fault fail together.