System Design
12. Reliability and Fault ToleranceAnimated
High Availability
Staying up despite failures.
The idea
Remove single points of failure with redundancy and automatic failover.
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
Clients use one stable address.
- step:
- 1/4
- at:
- Clients
1/11
The green dot is a request moving through the system.
Step by step
- 1Duplicate components
- 2Monitor health
- 3Fail over automatically
- 4Test regularly
Where it is used
Critical services.
Watch out for
Complexity and cost rise with each nine.