Skip to content
StackDecode
System Design
1. System Design FundamentalsAnimated walkthrough

Bottlenecks

The slowest part that limits the whole system.

The idea

A system moves at the speed of its slowest stage. Removing a bottleneck simply reveals the next one.

Watch it work

The steps light up one at a time. Use the controls to pause or step through.

  1. 1Measure every stage
  2. 2Find the one that saturates first
  3. 3Fix or scale just that part
  4. 4Repeat
1/4

Step by step

  1. 1Measure every stage
  2. 2Find the one that saturates first
  3. 3Fix or scale just that part
  4. 4Repeat

Where it is used

Capacity work and performance tuning.

Watch out for

Scaling everything equally wastes money. Fix the actual constraint.

Related