Skip to content
StackDecode
System Design
16. Performance EngineeringAnimated

Scalability Testing

Checking how performance changes as you add resources.

The idea

Measure throughput as instances or load grow to find where scaling stops.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

Load balancerApp 1App 2App 3App 4Shared state
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Scale the app tier by adding identical instances.

step:
1/4
at:
Load balancer
1/8

The green dot is a request moving through the system.

Step by step

  1. 1Test with 1 instance
  2. 2Add instances
  3. 3Measure throughput
  4. 4Find the plateau

Where it is used

Capacity planning.

Watch out for

A shared bottleneck stops linear scaling.

Related