System Design
12. Reliability and Fault ToleranceAnimated
Chaos Testing
Running failure experiments in test or production.
The idea
Kill servers, add latency or drop packets and verify the system copes.
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
Define a steady-state hypothesis: "checkout works".
- step:
- 1/4
- at:
- Monitoring
1/8
The green dot is a request moving through the system.
Step by step
- 1Pick a hypothesis
- 2Run the experiment
- 3Measure
- 4Repair weaknesses
Where it is used
Validating resilience.
Watch out for
Limit the blast radius.