~/talk

Zero-Copy Chaos. When everything you knew about tokio...

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

System goes from 10M to 45M req/s and drops 30% while P99 spikes to 450ms → 8ms after a 72‑hour sprint that eliminates every allocation in the hot path. Concrete fixes include pooling with Bytes-backed ring buffers, IOvec scatter/gather writes, splitting runtimes for IO vs compute, replacing semaphores with work‑stealing backpressure, targeted unsafe blocks with benchmarks, and tools that mattered: Tokio Console, heaptrack, perf and jemalloc tuning, resulting in zero allocations on hot path.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57Production collapse under load
  3. 2:04Traffic spike scale
  4. 3:11What failed and why
  5. 4:55Tools for hidden bottlenecks
  6. 6:22Zero copy as discipline
  7. 7:47Code before and after
  8. 9:13Unsafe with benchmarks
  9. 10:57Tokio defaults mismatch
  10. 11:38Runtime splitting backpressure
  11. 12:24Timer wheel optimizations
  12. 12:46Counterintuitive performance insights
  13. 13:33Task allocation pressure
  14. 14:17Unsolved challenges
  15. 14:40Final results
  16. 15:45Summary
~/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.