~/talk

Let Your Pipeline Bloom: Fast Python with Filters, Caches, and Low Memory Footprint

Talkat PyCon Israel 2025 · on Tuesday, 2025-09-09· [python, data-engineering]
links:none on file
slides:none on file

Real-time pipeline uses a Bloom filter to cut thousands of DB lookups per second by cheaply rejecting unmonitored addresses, trading memory for a small false-positive rate; configured for 100k addresses with false positive ~1/100, it needs about 120 KB vs 2 MB (~20x) of memory, uses k≈7 hashes, and yields microsecond lookups in Python or ~50 ns in Rust; Redis and RBloom/FazbloomRS wrappers are viable deployments and the filter reduces IO while requiring occasional DB confirmation for positives.

AI-written summary · about

  1. 0:00Introduction to Bloom filters
  2. 1:12Hexagate use case
  3. 3:19Naive approach problems
  4. 7:58Bloom filter solution
  5. 10:04How Bloom filters work
  6. 13:54Memory footprint optimization
  7. 16:02Using Bloom filters in Python
~/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.