Interview Prep/Monitoring & Observability/Observability Fundamentals & Signals

Why are averages misleading for latency?

IntermediateConceptObservability Fundamentals & Signals
Answer

Latency distributions are long-tailed. If 99 requests take 50 ms and 1 takes 5 s, the average is about 100 ms, which hides that 1% of users wait 5 s. At high fan-out (one page calling 20 services), nearly every page view hits some service's p99.

So we track percentiles (p50, p95, p99, p99.9) from histograms, and SLOs are expressed as "99% of requests under 300 ms" rather than "average under 100 ms".

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Observability Fundamentals & Signals