~/talk

Avoiding Cachepocalypse in the Land of the Monolith

Talkat SREcon23 Americas · 2023-03-21..03-23· [observability]
links:none on file
slides:none on file

Legacy Python monolith exhausts memcached capacity because one cache node receives duplicate connections, pushing a normal 32,000 connections per node to over 64,000 and blocking horizontal scaling. Debugging uses local tools including a Docker lab and native debugger, uncovers a memcache client mismatch and metadata flag incompatibility between versions that corrupts Spanish data, and shows that setting options after initialization leaves lingering memcached connections. Fix is to pass options in the constructor, roll out gradually, and recover after a 45-minute cache flush.

AI-written summary · about

  1. 0:00Legacy monolith challenges
  2. 0:49Monolith architecture overview
  3. 1:51Cache connection bug
  4. 3:15Stakes and team alignment
  5. 4:17Debugging staging
  6. 6:24Spanish launch in production
  7. 7:48Outage root cause
  8. 9:15Fixing cache issue
  9. 10:16Incident lessons
  10. 11:21Long-term improvements
~/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.