~/talk

High on Cardinality, Low on Memory

Talkat PyData Amsterdam 2019 · 2019-05-10..05-12· [databases]
links:none on file
slides:none on file

Four concrete tools and what they actually buy: plain bitsets for true/false arrays, Roaring using RLE to compress sparse bitmaps, Bloom filters are probabilistic with tunable false positive to test membership, and 1.5 kilobytes HyperLogLog to estimate uniques. Claim: per-article interaction sets drop from megabytes to 2 kilobytes per article (approximate) while remaining mergeable across shards. Result: massive memory and latency savings at the cost of controllable approximation; Bloom gives definite negatives, HLL and Bloom trade exactness for tiny, fast summaries.

AI-written summary · about

  1. 0:00Memory-efficient data structures
  2. 1:24Storing booleans in bits
  3. 4:57Bitmap limitations
  4. 6:45Compressing sparse bitmaps
  5. 7:26Bloom filters
  6. 13:48HyperLogLog for distinct counts
  7. 20:34Practical applications
  8. 22:22Why these structures matter
  9. 24:11Further learning
~/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.