~/talk

Oak: A scalable off-heap allocated key-value map

Talkat Hydra 2020 · 2020-07-06..07-09· [databases]
links:none on file
slides:none on file

A Java key-value map stores keys and values off-heap in preallocated 256MB blocks, exposes a zero-copy API via ephemeral OakBuffers, and uses Unsafe/direct ByteBuffer addresses plus a 64-bit per-value header for synchronization. Chunks hold ordered integer-entry arrays and split when full, enabling a backward-scan algorithm that walks anchored ordered ranges instead of O(log n) pointer rewinds. The API supports atomic compute/putIfAbsent and uses on-heap minimal metadata (~2.5–3%). Evaluations show about 2x throughput vs ConcurrentSkipListMap and successful integration into Apache Druid.

AI-written summary · about

  1. 0:00Introduction to Oak
  2. 1:49Understanding off-heap
  3. 5:46Memory management basics
  4. 8:52Oak design and contributions
  5. 11:50Design principles
  6. 16:03Data organization
  7. 20:43Q&A session 1
  8. 26:04Zero copy API and scanning
  9. 30:06Concurrency and scan logic
  10. 35:37Advanced memory management
  11. 45:24Q&A session 2
  12. 53:14Performance evaluation
  13. 58:44Real-world deployment
  14. 1:04:45Conclusion and outlook
~/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.