System Design
16. Performance EngineeringAnimated
Stress Testing
Pushing beyond limits to find the breaking point.
The idea
Increase load until the system fails, to see how it fails and recovers.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- allowed
- rejected
4 arrive, 3 are served. The queue holds 1.
- tick:
- 1
- allowed:
- 4
- rejected:
- 0
1/24
Bars show how many requests were let through each tick.
Step by step
- 1Increase load steadily
- 2Watch for errors
- 3Find the breaking point
- 4Check recovery
Where it is used
Capacity limits.
Watch out for
Run in an isolated environment.