~/talk

Future of Lucene's MMapDirectory: Why use it & what's coming with Java 16 & later?

TalkinGermanat Berlin Buzzwords 2021 · 2021-06-15..06-17· [web-performance, web-platform]
links:none on file
slides:none on file

Discusses Lucene's use of MMapDirectory for disk access to avoid user‑space copies and use the OS page cache, and explains current 32‑bit‑style addressing limits that force fallbacks and extra copies as indexes grow into gigabytes. Describes using Java’s Foreign Memory Access API (Panama, JEPs 370/383/393) available in Java 16+—memory segments and direct access—and a draft Lucene implementation that promises copy‑free reads and support for indexes in the tens or hundreds of terabytes, with work ongoing to integrate this into Solr and Elasticsearch.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 2:40Memory mapping basics
  3. 6:53Java memory management
  4. 11:16Virtual address space
  5. 17:36Lucene and memory mapping
  6. 24:23Java 16 and later changes
  7. 30:55Future of MMapDirectory
  8. 34:37Q&A and summary
~/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.