~/talk

Answering Multi-dimensional Queries on Massive Datasets

Talkat Developer Summit 2020 · 2020-11-21..11-22· [data-engineering, databases]
links:none on file
slides:none on file

Built a realtime estimation subsystem that answers multi-dimensional count‑distinct queries by precomputing and storing per‑value sketches and merging them at query time. Uses Apache DataSketches theta sketches computed in Spark (per‑partition sketches merged and persisted), with polyglot clients (Scala for preprocessing, Kotlin for queries). Handles 10–15 dimensions with 1k–100k distinct values; using k=4,096 yields ~3% error for unions while complex intersections show ±10% error. Sketch storage is small (≈24 KB per value, ~30 MB per 1,000 values) and this works in production for campaign reach estimates.

AI-written summary · about

  1. 0:00Introduction and background
  2. 12:01What are sketches
  3. 18:06Apache DataSketches library
  4. 22:19Theta sketch framework
  5. 29:43Solution and implementation
  6. 30:45Q&A and closing
~/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.