~/talk

Tips and Tricks to Scale Elasticsearch for 1M RPMs and Beyond

Talkat Berlin Buzzwords 2021 · 2021-06-15..06-17· [databases]
links:none on file
slides:none on file

Shows concrete fixes and measurable wins: change integer fields to keyword IDs reduces p99 by ~20 ms on term-heavy filters; avoid date math and rewrite date ranges (or invert broad ranges) to restore caching and shave ~10–15 ms p99; build feature-focused indices so request-cache hit rises from ~6% to ~42% for targeted aggregations. Uses a Kafka→Elasticsearch replay tool (CAT) for tests, runs three ~160‑node clusters plus an offline cluster, reaches ~1,000,000 RPM, ~360M docs, ~120–150 ms p99 and ~5,000 updates/s.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Current Elasticsearch scale
  3. 6:36Store IDs as keywords
  4. 11:19Avoid date math in filters
  5. 16:26Feature-focused indices
  6. 24:58Scale a year later
  7. 29:14Remaining challenges
  8. 30:58Q&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.