Have no fear: Just the math you need to know for monitoring
summary
Logarithmic axes compress huge ranges so a latency chart can cover ~1 ms to 100 s and still show the long tail; example metrics sit at p50 ≈ 50 ms, p95 = 1 s, p99 = 5 s so fixing only the mean hides 5–1% of slow requests. Raw percentiles require sorting billions of points and don’t scale, so systems use streaming approximations like t-digest and HDR histogram (log base 32 helps reveal small values).
AI-written summary · about
chapters (20)
- 0:00Introduction to monitoring math
- 1:03Logarithms and log scales
- 4:58History of logarithms
- 6:48Relative change vs absolute
- 8:10Linear vs log scale graphs
- 9:36Exponential growth in log scale
- 11:01Describing data center
- 12:50Averages and outliers
- 13:52Median vs mean
- 14:35Latency statistics
- 16:01Measuring data spread
- 17:26Standard deviation basics
- 19:10Understanding long tails
- 20:14Percentiles explained
- 21:20Calculating percentiles
- 22:26Income inequality and percentiles
- 23:30Latency percentiles in practice
- 24:33Real-world percentile calculation
- 25:57Approximating percentiles
- 26:17Key takeaways summary
