~/talk

Most of the Time It Works Every Time: The Mindset Behind Using Probabilistic Data Structures

Talkat code.talks 2024 · 2024-09-19..09-20· [databases]
links:none on file
slides:none on file

Shows that skip lists use a 50/50 coin flip to promote nodes so searches run in O(log n) with high probability while using about 2n pointers of space; lowering promotion to 1/16 roughly doubles search time. Gives concrete failure odds (e.g., threefold slowdowns are vanishingly rare for millions of items). Demonstrates Bloom filters as tiny pre-checks that yield false positives only and speed up cache/database access in a real backend, and Count‑Min Sketches as fixed‑size counters returning safe upper bounds for frequencies.

AI-written summary · about

  1. 0:00Probabilistic data structures
  2. 4:23Skip lists as prob data structs
  3. 16:37Practical skip lists with coin flips
  4. 28:10Skip lists vs tree alternatives
  5. 31:01Bloom filters for membership
  6. 36:22Count Min sketch for frequency
  7. 39:34Summary of prob data structs
  8. 40:37Q&A
~/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.