~/talk

From NGINX to Tokio: Lessons from rewriting a 55 million RPS system

Talkat TokioConf 2026 · 2026-04-20..04-22· [rust, frontend-architecture]
slides:none on file

Rewriting a 55 million RPS system moves beyond language to architecture: replacing a NGINX shared‑nothing setup with a Tokio work‑stealing runtime and building FL2 and Pingora in Rust yields concrete wins — a 66% drop in origin connections, roughly 4× lower memory for FL2 vs Engine X FL, massively reduced tail latency, and saved handshake time measured in hundreds of aggregated years per day, demonstrating that work‑stealing plus shared connection pools actually works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:38Legacy proxy stack
  3. 4:31Rewriting in Rust and Tokio
  4. 6:14Nginx shared-nothing
  5. 8:00Shared-nothing at scale
  6. 15:04Work stealing solution
  7. 18:19Tokio performance gains
  8. 20:46Key takeaways
  9. 23:17Q&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.