tail-latency · research · also latency tail

Tail latency

Tail latency describes the high-latency part of an operation response-time distribution, usually summarized using specified high percentiles.

State the operation population, timing boundaries, percentile estimator and observation window. An hourly mean cannot reconstruct request p99, and a wait-for-all fan-out request follows the slowest required response rather than an average leaf. In one measured fan-out tree, the 99th-percentile finishing time was 10 ms for one random leaf, 70 ms for 95% of leaves and 140 ms for all leaves, so the slowest 5% accounted for half of the total. [1]

A sample p99 is an estimator, not a precision guarantee. Under a fixed-size IID continuous-population model, n observations miss every value above the population p-quantile with probability p^n, about 36.6% at p = 0.99 and n = 100. Correlated queueing episodes do not automatically supply independent observations.

Single-server tails also depend on queueing conditions. In a model with one worker and Poisson arrivals, the 99th percentile rose tenfold between 50% and 95% utilization. Under open-loop Poisson clients at 80% utilization, a key-value server moved from a 99.9th percentile of 14 ms to 32 µs after background interference, request reordering, interrupt routing, power saving and NUMA effects were addressed. [4]

Relations

related
Storage latency, RAID tail hour, Coordinated omission, Fail-slow, Hedged request, Tied request, Adaptive replica selection, Quantile, k-of-n completion, Open-loop load, Median absolute deviation, Coefficient of variation, Power of two choices, RobinHood caching

Advantages

  • Mitigation can target the slow outliers directly. Sending a backup copy only after the 95th-percentile expected latency limits extra load to about 5%, and in one benchmark a 10 ms delay cut the 99.9th percentile for reading 1,000 keys from 1,800 ms to 74 ms with 2% more requests. [1]

Limitations

  • A lower tail can require lower utilization or cores reserved for interrupt handling, so the improvement often trades against throughput. [4]

Citations

  1. Dean and Barroso, The Tail at Scale, CACM 56(2), 2013; DOI 10.1145/2408776.2408794 (accessed 2026-10-23)
  2. Li, Sharma, Ports and Gribble. Tales of the Tail: Hardware, OS, and Application-level Sources of Tail Latency. SoCC 2014, sections 2 to 4. (accessed 2026-10-23)

Further reading

  1. Hesela: Slow RAID hours are not request tail latency; source audit and reproducible counterexamples (accessed 2026-10-15)
  2. Hesela: tail sampling probabilities, explicit IID assumptions and reproducible analytic results (accessed 2026-10-17)
Sources & caveats
  • dean re-read 2026-10-23 for the fan-out arithmetic, Table 1 and the deferred backup-request figures.
  • tales read 2026-10-23, sections 1, 2.2, 3 and 4.4, for the utilization model, open-loop clients, the 14 ms and 32 µs figures and the throughput trade-off.
  • The p^n figure is a closed-form calculation, 0.99^100 = 0.366.
  • The open-loop-load entry links here because the measurements use open-loop Poisson clients, which the paper chooses for burstier, more representative arrivals that affect tail latency.
  • Two companion analyses on fan-out and on tail sampling are listed but not used in prose.

JSON: /data/terms/tail-latency.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Tail latency. Hesela. 2026-11-29. https://hesela.dev/terms/tail-latency/