~/talk

When Close Enough is Good Enough

Talkat Swiss Python Summit 2025 · 2025-10-16..10-17· [databases]
name:Tim Head
links:none on file
slides:none on file

Introduces Bloom filter, Count-Min Sketch, and HyperLogLog with simple Python implementations and concrete tradeoffs: Bloom filters cut memory by orders of magnitude (speaker quotes 100x–1000x) but return definitive no / maybe yes and show rising false positives as the bit array fills; Count‑Min stores multiple hashed counters and reports the minimum to estimate item frequencies; HyperLogLog tracks longest runs of leading zeros in hashes to estimate unique counts. Examples include CDN caching decisions and Reddit‑scale unique visitors; Python wrappers exist with C/Rust backends for speed and a library called scrub handles high‑cardinality preprocessing.

AI-written summary · about

  1. 0:00Introduction by host
  2. 0:48Speaker introduction
  3. 1:13Talk begins: probabilistic data structures
  4. 2:38Exact vs probabilistic data structures
  5. 4:24Bloom filters explained
  6. 7:58Hash functions deep dive
  7. 10:28Bloom filter limitations
  8. 11:55What is a Bloom filter?
  9. 13:19False positive rates
  10. 14:44Bloom filter applications
  11. 15:49Count-min sketch introduction
  12. 18:41Count-min sketch implementation
  13. 19:23Count-min sketch use cases
  14. 20:05HyperLogLog introduction
  15. 21:09HyperLogLog intuition
  16. 23:56HyperLogLog math overview
  17. 24:41When to use probabilistic structures
  18. 25:24No magic in probabilistic data
  19. 26:09Q&A session begins
  20. 26:32Q&A: Scikit-learn and scrub
  21. 27:56Q&A: Bloom filter optimization
  22. 29:22Q&A: Scale for using these structures
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.