~/talk

Lessons from 1BRC: Tricks and Approaches to Performance Optimization

TalkinRussianat Joker 2024 · 2024-10-09..10-16· [java]
links:none on file
slides:none on file

A Java performance talk about the One Billion Row Challenge (1BRC) that walks through implementations from a simple baseline to highly optimized versions for aggregating a billion rows from a text file. It covers concrete Java coding tricks and methods that produced the largest speedups, and discusses their applicability in real projects.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Speaker and contest
  3. 3:12One BRC challenge
  4. 6:33Base solution profiling
  5. 8:00Parallel file processing
  6. 11:54Memory-mapped files
  7. 16:55Data structure optimization
  8. 25:41CPU specifics
  9. 28:54Instruction pipelining
  10. 31:50Bit parsing tricks
  11. 33:36System call tuning
  12. 38:36When to stop optimizing
  13. 39:17Payment system case study
  14. 44:52Summary
~/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.