Box Plots — Request Latency Before and After
Two distributions of request latency as Tukey boxes with their outliers kept and their means marked. The mean is drawn separately because a box shows the MEDIAN, and a reader who assumes it is the mean misreads every skewed group — which for a latency distribution is every group.
Make it your own.
title: Request latency, before and after the connection-pool change
subtitle: One week of production traffic, sampled at 1%
y: Latency (ms)
grid: y
box "Before"
12 13 14 15 15 16 16 17 18 19 19 20 22 24 28 34 41 58 96
box "After"
9 9 10 10 11 11 12 12 13 13 14 14 15 16 17 19 22 31 47
note: The line in each box is the median; the separate mark is the mean. They differ here because both distributions have a long right tail, which is what a latency distribution always has and what a bar of means would hide entirely.