~/talk

Quantiles at Scale: Choosing the Right Estimation Algorithms for Observability

name:Mike Shi
links:none on file
slides:none on file

Benchmarking on 7 billion rows in ClickHouse shows exact sort costs 39 GB RAM and 15 seconds and is impractical; Prometheus native histogram schema 4 yields ~2–4% error while hand-picked classic buckets hit 13–15% error; DD sketch: tunable to 0.1% value error, stores a few KB, costs ~50% more CPU to build but queries fast; Quantile BFloat16: ~0.67% worst error, very fast; t‑digest and reservoir sampling fail on heavy spike distributions.

AI-written summary · about

  1. 0:00Quantiles and their importance
  2. 4:10Exact vs sketch algorithms
  3. 7:37Key properties of algorithms
  4. 10:24Error types in estimation
  5. 13:35Error models and algorithm families
  6. 15:18Benchmark with 7B rows
  7. 18:04Accuracy results
  8. 20:32Sketch cost and state size
  9. 22:37Trade-offs and recommendations
  10. 23:39Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.