Why are latency percentiles usually more useful than an average in production?
Answer
An average can hide a slow minority behind many fast requests, while percentiles show a boundary for a chosen share of observations: p95 is the value at or below which about 95 percent fall. A tester must still define the population, time window, operation and success state, because mixed endpoints or failed fast requests distort the result. Compare several percentiles with request volume, errors and resources, and retain raw distribution evidence where possible.
Strong answer includes
- explains the tail hidden by an average
- defines population and time window
- correlates latency with volume, errors and resources
Practical example
An API serves 10,000 requests where 9,500 finish in 50ms and 500 finish in 5 seconds due to a slow database index. The average latency looks like a reasonable 288ms, masking the problem entirely, while p95 correctly reports around 5 seconds and immediately flags that 5% of users are having a terrible experience. A QA engineer who only checks the average would sign off on a release that is actually broken for one in twenty users.