~/talk

Unconventional approaches to performance in Ozon's search engine

TalkinRussianat JPoint 2024 · 2024-04-17..04-25· [distributed-systems]
links:none on file
slides:none on file

A talk about performance engineering inside Ozon’s O2 search engine (built on Apache Lucene) focusing on low-level, service-specific optimizations used to handle thousands of RPS across tens of millions of documents and ~14k sparse fields. It covers techniques such as code generation to reduce virtual calls on hot query paths, allocation reduction strategies (ByteBuffer vs VarHandle and allocation-free tuples), reducing indirections and memory jumps, and a cautionary example of how misuse of Objects.requireNonNull harmed performance; the talk also explains how they monitor and run performance investigations.

AI-written summary · about

  1. 0:00Introduction
  2. 3:54Data size and load
  3. 6:04Virtual call overhead
  4. 11:41Cogeneration solution
  5. 15:11Fighting allocations
  6. 23:19Java's new features
  7. 25:49Optimization pitfalls
  8. 29:59Summary and recommendations
  9. 31:02Refactoring story
  10. 41:44Q&A
~/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.