~/talk

Fast Decompression Lucene Codec #bbuzz

Talkat Berlin Buzzwords 2015 · 2015-05-31..06-03· [java, web-performance]
links:none on file
slides:none on file

Shows that replacing Java decoding with a SIMD C decoder (C99 vector code from Daniel Lemire) called via HotSpot’s critical native interface halves block decoding latency for Lucene 5.0 P4 blocks (128/188-size) compared with normal JNI, dropping per-block latency into the tens of nanoseconds and decoding ~100 integers in ~70 ns. Benchmarked with JMH on realistic data, total top-10k-term search time falls from 60s to 49s — about an 18% search speedup.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Table of Contents
  3. 1:50Requirements of a search index
  4. 2:19The numbers every engineer should know
  5. 5:354D Codec API
  6. 10:26What is FOR encoding?
  7. 11:51Scalar vs. Vectors
  8. 14:29Vectorization in HotSpot
  9. 17:46Workaround
  10. 19:50JDK-7013347 Critical Native
  11. 24:03Microbenchmark
  12. 29:21SIMD codec
  13. 30:15Lucene benchmark
  14. 33:34Benchmark results
  15. 35:34Future work
~/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.