~/talk

Scaling Up, One Network Bottleneck at a Time

Talkat Dash 2022 · 2022-10-18..10-19· [networking, devops-and-delivery]
links:none on file
slides:none on file

Deploys cause app RTT to spike to ~1s vs expected 100ms because startup fetches thousands of Redis keys through an Envoy sidecar that CPU-saturates, causing packet drops and TCP retransmits; Redis processes handle ~5k rps each (benchmarks show ~10x headroom), so Redis isn’t the limiter. Investigation uses proxy CPU, TCP retransmit graphs and the AWS ENA packet-drop metric over ~2 months, finds only one txq used in the kernel, applies an upstream kernel fix and then moves to a network-optimized instance to remove remaining ENA drops and restore sub-0.5s RTT.

AI-written summary · about

  1. 0:00Identifying the scaling issue
  2. 2:01Analyzing high round-trip time
  3. 4:08Scaling the key-value store
  4. 5:48Proxy bottlenecks
  5. 10:22Kernel queue limitations
  6. 13:46Optimizing network bandwidth
  7. 16:08Key lessons learned
  8. 18:53Q&A and closing discussion
~/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.