~/talk

Connection Storms: Detecting and Defusing Outages Before Valkey Crashes

Talkat Keyspace 2025 · on Thursday, 2025-08-28· [observability, distributed-systems]
links:none on file
slides:none on file

Connection storms are sudden floods of TCP handshakes that overflow the kernel conntrack table and the server accept queue (syncq/backlog), often after deploys or network flaps, causing timeouts and missing metrics. Practical fixes: cap client pools or use multiplexing (Glide) instead of N sockets, implement exponential backoff with jitter, monitor socket stats for SYN/accept queue lengths, raise somaxconn/TCP backlog and watch cloud limits (PPS, bandwidth, NAT table). These changes measurably prevent outage cascades.

AI-written summary · about

  1. 0:00Introduction to connection storms
  2. 1:05What is a connection storm
  3. 2:32Client-side connection management
  4. 4:45Reconnection strategies
  5. 7:15Server-side monitoring
  6. 8:41Kernel-level metrics
  7. 12:42Four key takeaways
  8. 13:05Q&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.