Skip to content
StackDecode
System Design
8. Load Balancing and ScalabilityAnimated

Capacity Management

Making sure enough resources exist for demand.

The idea

Combine forecasting, headroom, auto scaling and load testing.

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. 1Forecast demand
  2. 2Test limits
  3. 3Provision headroom
  4. 4Review after incidents

Where it is used

Reliable operations.

Watch out for

Over-provisioning wastes money.

Related