~/talk

Improving a Distributed System Post-Incident

Talkat Failover Conf 2020 · on Tuesday, 2020-04-21· [distributed-systems]
links:none on file
slides:none on file

Case study of a week-long outage in an IP address management service at DigitalOcean handling 4.2M active IPs and ~390k assignments/day: database write latency jumps from ~40ms–2s to >30s, causing 50–100% allocation errors. Mitigations include disabling canaries, moving heavy nightly queries to read replicas, switching transaction isolation from REPEATABLE READ to READ COMMITTED after nine days of testing, reducing SQL queries from 3–4 to 1–2, and changing retry logic to three discrete retries; monitoring added with Prometheus, Grafana, Lightstep and Kibana/Cabana.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Background
  3. 2:14Goal of the talk
  4. 6:07It all started with a page...AT 4AM!
  5. 7:31Initial investigations
  6. 8:23Usual latency
  7. 8:48Latency during incident
  8. 9:13LightStep capture
  9. 9:39Error rate was through the roof
  10. 10:23What was causing the issue?
  11. 11:56How do we fix this?
  12. 14:25Quick patch?
  13. 16:11Testing looked good!
  14. 18:08New discoveries
  15. 20:50Solution?
  16. 22:43Culmination of our efforts
  17. 25:07Monitoring Changes
  18. 26:29Testing Changes
  19. 27:50Teamwork + Blameless Culture
  20. 30:23Takeaways
  21. 31:43Personal Learnings
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.