Skip to content
StackDecode
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.

arrivals 4queue 1allowed 4 rejected 0steady rate
  • 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

  1. 1Increase load steadily
  2. 2Watch for errors
  3. 3Find the breaking point
  4. 4Check recovery

Where it is used

Capacity limits.

Watch out for

Run in an isolated environment.

Related