~/talk

"Low-Overhead Observability in High-RPS Servers"

Talkat RustConf 2024 · 2024-09-10..09-13· [observability, rust]
slides:none on file

Netflix replaces parts of their gateway with the Apollo Router in Rust and uses the tracing crate to instrument high‑RPS services, profiling an initial 10–15% CPU cost down to about 1–2% by using call-site caching, making per-layer filters actual filter structs (a fork fixed a metric-layer bug and recovered ~5–10% CPU), adding sampling and a reload layer for live enabling, using fast properties to target instances and 10% sampling, and validating behavior with tracing-mock tests.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Netflix’s Layer 7 Gateway and GraphQL Federation
  3. 2:25Tracing crate overview
  4. 4:48Tracing overhead hierarchy
  5. 7:52Static filtering and caching
  6. 10:55Debugging filter overhead
  7. 12:34Production lessons
  8. 14:30Configuring nfilter
  9. 16:04Testing with tracing-mock
  10. 16:57Tracing overhead to 1-2%
  11. 18:08Dynamic call-site reloading
  12. 19:20Fine-grained call-site filtering
  13. 20:53Sampling and fast properties
  14. 21:19Key takeaways and closing remarks
~/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.