Try
↑ ↓ move↵ openesc close

Interview prep / Percentiles

Junior · Percentiles · System design interview question

Why do dashboards usually show p50, p95 and p99 together rather than a single number?

Sketch your own answer first, then compare it with the one below.

A strong answer

Each one answers a different question. The p50 is the typical request. The p95 and p99 show how bad it gets for the unlucky ones. The gap between them is itself information: a p99 far above the p50 means a separate slow path, such as a cache miss, a retry or a pause.

A single number can hide a change. If the p50 stays flat and the p99 doubles, one slow path got worse, and the median alone would not show it.

The right set depends on traffic. A service with few requests cannot support a p99.9: out of a thousand requests, a single sample sits above it.

Sources

Learn it by running it

The percentiles and why averages lie lesson explains the mechanism behind this question, and its lab lets you change the parameters and watch the effect.

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms