52
Distributed Systems
The Tail at Scale
Tail latency dominates at fan-out.
The article
If
In a service that fans out to many components, rare per-node slowness (GC pauses, contention, a failing disk) is near-certain to hit some node on every request. So tail latency (p99, p99.9) governs the user experience even when medians look healthy.
Then
“Set SLOs on p99/p99.9, not the mean, and deploy tail-tolerance — hedged requests, micro-partitioning — instead of trying to make every node uniformly fast.”
Unless
Redundancy Has a Price — hedged and tied requests add load; don't chase the tail where the median is what users feel
Source
Jeffrey Dean & Luiz André Barroso, The Tail at Scale (Communications of the ACM, 2013).
Go to the sourceSee also