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

Throughput

How much work the system completes per unit of time.

The idea

Throughput is requests per second or bytes per second. High throughput often comes from batching and parallelism, sometimes at the cost of latency.

Watch it work

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

  1. 1Measure completed work per second
  2. 2Find the saturating resource
  3. 3Add parallelism or batching
  4. 4Re-measure and watch latency
1/4

Step by step

  1. 1Measure completed work per second
  2. 2Find the saturating resource
  3. 3Add parallelism or batching
  4. 4Re-measure and watch latency

Where it is used

Batch jobs, streaming and data pipelines.

Watch out for

Throughput and latency pull against each other. Improving one can hurt the other.

Related