Skip to content
StackDecode
System Design
16. Performance EngineeringAnimated

Load Testing

Testing under expected traffic.

The idea

Simulate the normal and peak number of users to verify targets.

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. 1Model realistic traffic
  2. 2Ramp up users
  3. 3Record latency and errors
  4. 4Compare with the SLO

Where it is used

Before launches.

Watch out for

Test with production-like data and dependencies.

Related