In this lesson · topic 3 of 7
Topic 3
Average the hosts, widen the buckets, stop waiting
8 min read
One stream, four views
The lab below generates the stream from the first topic and then shows it four ways. The histogram and the strip of numbers show the mean and the percentiles. The host table compares the average of the host p99s with the real merged one. The bucket table compares fine and fixed buckets. The last panel runs one worker under both kinds of load generator, with a periodic stall.
Predict before you press play
Things to try
- Drop Host imbalance to 0 and watch the average of the host p99s settle on the merged p99. Put it back and watch them separate.
- Slide Slow requests from 0.5 percent up to 3 percent. The mean climbs smoothly. The p99 stays low and then jumps once the slow share passes one percent.
- Widen the buckets to 100 ms. Compare the fine and fixed columns for the median and for the p99.
- Raise the stall length. The waiting generator’s p99 hardly changes, while the schedule-keeping generator’s does.
- Raise the load on the tested worker from 0.2 to 0.8. Queueing makes the schedule-keeping measurement grow even without a stall.
The full-page lab adds five guided experiments, each applied with one click.