Foundations · Beginner · 9 min

Latency & Throughput

Separate how long one request takes from how much work a system finishes.

STEP 1 / 10
Baseline50 req/s · p95 180 ms
Two different measurements — isometric concept diagramReport completion rate and a latency distribution separately. Components: 1. Users. Representative clients, not a literal user count; 2. Application. Logical component or processing boundary. Connections: 1. Users to Application: Two different measurements; 2. Application to Users: Reply: Application. Illustrations are conceptual, not deployed capacity or user counts.Users → Application: Two different measurements1Application → Users: Reply: Application2Users: representative traffic illustration; figure count is not a workload measurement.1UsersRepresentative clients, not aliteral user countApplication: Logical component or processing boundary2ApplicationLogical component or processingboundary
1Users2Application
  1. 1Users → ApplicationRequestTwo different measurements
  2. 2Application → UsersReplyReply: Application

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

2 components visible · Users + Application highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • Distinguish latency from throughput.
  • Explain queueing near saturation.
  • Read percentiles without averaging away slow users.

PUT THE IDEA TO WORK

From learning to practice

RELATED PATTERNS

Queue-based load leveling ↗

Further reading

Google SRE · Monitoring distributed systems ↗