Latency Percentiles & Tail Latency
7 min read.
Sort real response times to read p50, p95 and p99, see why the mean misleads, and watch fan-out and queueing turn a rare slow request into a common slow page.
Think of it this way: Average wait time at a coffee shop says little if most people wait 2 minutes and one person waits 40. Percentiles answer the questions customers care about: how long does a typical person wait (p50), and how bad is it for the unlucky few (p99)? And if your order needs five stations, you wait for the slowest one.
20 requests hit a server. Each bar is one response time.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Compute p99 the right way
Order the steps to report a p99 latency for a fleet of servers.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
- 1Drop a step here
- 2Drop a step here
- 3Drop a step here
- 4Drop a step here
- 5Drop a step here
Quiz
8 questionsWhat is the p50 of a set of response times?
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.