~/talk

Rust Extension for the Python Driver

Talkat NODES 2024 · on Thursday, 2024-11-07· [rust, python]
links:none on file
links:none on file
slides:none on file

Rust extension for the Python driver replaces the pure‑Python PackStream serializer/deserializer with native Rust encoding and decoding, built with Maturin binding and cross‑compiled CI, running the same driver test suite plus extra injection tests. Benchmarks show about 4× write speedups and up to 9× read speedups on wide records while never regressing, and prebuilt precompiled wheels are provided so no code changes are needed—install the neo4j‑rust‑x package or build from source if your platform lacks a wheel.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31Motivation for Rust
  3. 2:01Pack Stream Protocol
  4. 3:27Choosing Rust over alternatives
  5. 4:12Proof of concept
  6. 4:55Productizing the extension
  7. 5:57Benchmarking approach
  8. 7:03Writing performance results
  9. 8:05Reading performance results
  10. 9:08How to get the extension
  11. 10:57Installation guide
  12. 11:59Compatibility notes
  13. 12:19Conclusion and next steps
~/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.