~/talk

How we built the lightning fast autosuggest for otto.de

Talkat code.talks 2022 · 2022-09-15..09-16· [web-performance, databases]
speakerdeck:tkaessmann
name:Tom Gilke
links:none on file
slides:none on file

OTTO’s autosuggest handles about 3 million visits per day and peaks near 400 req/s with P99 ~20–30 ms. Architecture separates a Kotlin/Spring distribution layer called Prism from Python business nodes called Higgins. Problems include a cache move that caused a 30‑minute outage, catastrophic regex backtracking that spiked CPU, and uncached slow requests. Fixes: async background caching, replace regex with indexOf for headers, and swap the trie for a pruning Radix trie implemented in Python — latency drops and static fallbacks disappear.

AI-written summary · about

  1. 0:00Team and vision
  2. 3:30Monolithic architecture challenges
  3. 7:45Two-layer architecture with Prism
  4. 10:13Cache-induced outage debugging
  5. 15:08Fixing regex backtracking
  6. 20:25Pruning Radix trie performance
  7. 24:20Journey recap and current state
  8. 25:45Key learnings and team success
  9. 29:57Q&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.