Try
↑ ↓ move↵ openesc close
In this lesson · topic 7 of 7
  1. 1. Why the average lies
  2. 2. Histograms, merging and honest load tests
  3. 3. Average the hosts, widen the buckets, stop waiting
  4. 4. When an averaged p99 is half the real one
  5. 5. How many requests stand behind a p99
  6. 6. Turning latency into a good-events ratio
  7. 7. Fifty hosts, one stall, one bucket choice

Topic 7

Fifty hosts, one stall, one bucket choice

4 min read

Predict first

Fifty hosts each export their p99 every minute. What is the right way to get the fleet p99?

Predict first

A load test sends one request at a time and waits for each reply. The service sometimes pauses for a second. What does the test do to the tail?

Predict first

You switch from 100 ms fixed buckets to buckets that grow by a fixed percentage. What improves?

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

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms