~/talk

Mergeable Summaries for High Scale, High Cardinality Analytics

links:none on file
slides:none on file

Describes a practical system that turns commutative associative merge operators into mergeable summaries used at Microsoft, Sisu, and in Apache Druid to answer top-K, quantiles, and distinct queries without storing raw events. Implements a top-K fixed-size hash map (100 entries ≈ 1% error, 1000 ≈ 0.1%), a moment-based estimator (min, max, count, sum, sumsq, sumcubed) to reconstruct distributions, and reservoir sampling for arbitrary UDFs; production workloads merge hundreds to thousands of sketches per query and see ~5x speedup in merged-heavy queries.

AI-written summary · about

  1. 0:00High cardinality analytics intro
  2. 2:53CRDTs to mergeable summaries
  3. 7:45Mergeable summaries for cubes
  4. 12:35Top K summaries accuracy
  5. 15:01Percentile and quantile estimation
  6. 18:53Handling arbitrary user-defined functions
  7. 21:19Production deployment lessons
  8. 23:44Summary and future
~/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.