AlgoViz

Percentiles & SLOs

easy 6 min

A latency percentile describes a rank within a distribution.

Video lesson · Chapter 1 of 8

Two hosts and one misleading number

0:00 / 6:50

Theory

Read or listen first. About 1 min.

What it is

A latency percentile describes a rank within a distribution. A service-level objective can instead define a fixed threshold and count the fraction of eligible requests that met it. For a 99 percent threshold objective, ten slow requests per thousand use the entire permitted fraction for that interval. Burn rate divides observed bad fraction by the permitted bad fraction.

Why it exists

A dashboard averages host p99 values despite very different host traffic. The result has no general interpretation as fleet p99. Aggregate compatible histogram counts or threshold success counters over the same interval. In this example 28 slow requests per thousand means a 2.8 percent bad fraction and 2.8 times the allowed rate. Traffic-weighted counts anchor the calculation.

If eligibility filters changed, recompute both intervals under one definition before interpreting a change in burn rate.

The average passes and the SLO fails

Request population → Threshold bucket (count eligible events). Threshold bucket → Error budget (calculate burn)
Request population → Threshold bucket (count eligible events). Threshold bucket → Error budget (calculate burn)

How it works

Step through the idea, or press Play.

Step 1 of 3

Baseline. Three of a thousand requests exceed the threshold.

Understand it

Worked incident

The average passes and the SLO fails

ObservationSlow requests per 1000 (requests)Interpretation
Baseline3Three of a thousand requests exceed the threshold.
Incident28Twenty-eight cross it, burning budget at 2.8 times the target rate.
After intervention4After mitigation only four cross it. The recent rate improves while prior budget consumption remains.
Illustrative measurements from the same workload at three checkpoints.

Choose the next investigation

If eligibility filters changed, recompute both intervals under one definition before interpreting a change in burn rate.

Summary

The whole topic in one minute.

Counts preserve traffic weights. Percentiles extracted independently do not contain enough information to reconstruct a combined distribution.

If eligibility filters changed, recompute both intervals under one definition before interpreting a change in burn rate.

Sources