In this lesson · topic 7 of 7
Topic 7
Fifty hosts, one stall, one bucket choice
4 min read
Predict first
Predict first
Predict first
Take away
- The mean spreads the slow requests over everyone and says little about any user. Look at the median and at the tail together.
- Percentiles do not combine. Export histograms, add them, and read the percentile once.
- Bucket width sets the accuracy. Choose buckets that match how the values spread.
- A load generator that waits for slow replies leaves out the requests that would have suffered most. Keep the schedule, and time from the intended send.
Sources
- Jeffrey Dean and Luiz André Barroso, The Tail at Scale, Communications of the ACM, 2013.
- Betsy Beyer, Chris Jones, Jennifer Petoff and Niall Richard Murphy (eds.), Site Reliability Engineering, chapter “Monitoring Distributed Systems”, O’Reilly, 2016.
- Charles Masson, Jee E. Rim and Homin K. Lee, DDSketch: A Fast and Fully-Mergeable Quantile Sketch with Relative-Error Guarantees, Proceedings of the VLDB Endowment, 2019.
- Gil Tene, “How NOT to Measure Latency”, Strange Loop, 2015.
- HdrHistogram, the project page for a high dynamic range histogram.
- Histograms and summaries, Prometheus documentation.