Curriculum · Module 06, Observability
Percentiles and why averages lie
Why the mean hides the slow requests, why you cannot average percentiles across hosts, and how the measuring tool itself can hide the tail.
What each topic covers
- A small share of slow requests barely moves the mean, and it is the part users remember.
- How percentiles are computed from counts, why they cannot be averaged, and how a load generator can hide the tail.
- Pit the mean against the percentiles, average unequal hosts, coarsen the buckets, and run two load generators against one stalling worker.
- Measured errors from averaging host p99s, 100 ms buckets and a generator that waits, plus the rare slowness a p99 cannot see.
- A percentile is only as steady as the handful of requests above it. Count them, and see why a quiet minute flips a p99 on and off.
- Write a latency target as a share of requests under a threshold, read it from histogram buckets, and see why the threshold must sit on a bucket edge.
- Three quick checks on merging host percentiles, coordinated omission and geometric buckets, with the sources behind the lesson.
Topics
- 1Why the average lies4 min
- 2Histograms, merging and honest load tests8 min
- 3Average the hosts, widen the buckets, stop waiting8 min
- 4When an averaged p99 is half the real one7 min
- 5How many requests stand behind a p997 min
- 6Turning latency into a good-events ratio7 min
- 7Fifty hosts, one stall, one bucket choice4 min
Practise this lesson
13 interview questions on percentiles, with worked answers and sources.
Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms