~/talk

Vector Streaming: The Memory Efficient Indexing for Vector Databases

Talkat PyCon DE & PyData 2025 · on Friday, 2025-04-25· at 13:20· Hassium· [rust, machine-learning]
links:none on file
slides:none on file

Rust-based Embed-Anything implements vector streaming by moving embedding work into a separate thread/process and communicating via MPSC channels, keeping only small buffered batches in memory to avoid retaining large float arrays. Works with Candle and ONNX backends and multiple vector DB adapters, compiles to ~15 MB (vs bulky PyTorch) and shows 25% faster end-to-end indexing in benchmarks; demoed a 40 MB local app doing real-time ingestion and queries while indexing, with adjustable buffer size and an open issue on backpressure.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52Embeddings overview
  3. 4:21Design requirements
  4. 8:36Rust’s role
  5. 10:22Embedding pipeline
  6. 13:56Naive embedding challenges
  7. 16:27Vector Streaming solution
  8. 19:00Performance gains
  9. 20:27Using Embed Anything
  10. 21:32Live demo
  11. 23:20Q&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.