~/talk

Probabilistic data structures

Talkat Voxxed Days Ticino 2024 · on Friday, 2024-01-19· [data-engineering]
links:none on file
slides:none on file

Covers concrete implementations and tradeoffs: bloom filter uses M ≈ 9.5 million bits (~1.2 MB) and k = 7 to store 1M keys with 1% false positives; deletions are impossible. counting Bloom filter replaces bits with counters (8×–32× memory increase depending on type) so deletes work but risk overflow. cuckoo filter stores fingerprints, computes alternate bucket via XOR of hash and fingerprint, supports deletion, and aborts insertion after a fixed max kicks. Count‑Min Sketch uses d×w counters and returns the row‑minimum for frequency estimates. HyperLogLog estimates distinct counts from leading‑zero statistics and a harmonic‑mean correction.

AI-written summary · about

  1. 0:00Probabilistic data structures intro
  2. 1:28Membership problems and Bloom basics
  3. 4:00Bloom filter with hash functions
  4. 9:04Bloom filter performance and false positives
  5. 12:16Bloom filter in neural circuits and code
  6. 13:43Bloom filter limitations and deletion
  7. 14:47Counting Bloom filter for deletion
  8. 17:14Memory trade-offs in Counting Bloom
  9. 18:45Cuckoo hashing and Cuckoo filter intro
  10. 23:05Cuckoo filter lookup and insertion
  11. 24:30Cuckoo filter probabilistic aspect
  12. 27:24Cuckoo filter code and failure handling
  13. 28:08Frequency problems and Count-Min Sketch
  14. 30:16Count-Min Sketch practical example
  15. 33:25Count-Min Sketch probabilistic counting
  16. 34:28Cardinality problems and HyperLogLog
  17. 35:52HyperLogLog intuition with binary
  18. 37:21HyperLogLog array and hash distribution
  19. 40:10HyperLogLog insertion and leading zeros
  20. 41:14Calculating cardinality with HyperLogLog
  21. 43:22HyperLogLog efficiency and outliers
  22. 43:43Resources and further study
  23. 44:12Q&A and implementations
~/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.