~/talk

Efficient shared memory data structures

Talkat PyCon 2018 · on Sunday, 2018-05-13· [databases]

Claims that large read-only data can be efficiently shared across processes by placing C-like schemas into memory-mapped files and exposing lightweight proxies that index bytes without full deserialization. Implements schemas with fixed-size fields, relative pointers for movable objects, an identity map to avoid cyclic-serialization loops, and compact hash table indexes plus an exponential-then-binary search for cache-friendly lookups. Prototype uses struct/mmap and speeds attribute access by Cythonized proxies; it works on SSDs and spinning disks.

AI-written summary · about

  1. 0:00Start
  2. 0:37Python
  3. 1:23Sharing memory... what for?
  4. 4:01Why not multiprocessing?
  5. 4:57The shared buffer
  6. 7:52Structs
  7. 10:56Proxies - adding complexity
  8. 15:37Manipulation without serialization
  9. 21:46Approximate associative maps
  10. 23:44Speed
~/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.