~/talk

The Doctor Is In: Using checkups to find bugs in production

Talkat RailsConf 2018 · 2018-04-17..04-19· [devops-and-delivery, observability]
slides:none on file

Claim: lightweight “checkups” run in production to detect silent failures. Implementation details: small Ruby tasks (rake jobs, after_commit hooks, background jobs) scheduled with Heroku Scheduler, periodic scans calling ActiveRecord#valid, and spot checks of cached balances. Surprising findings: a race condition deletes all emails for a user and a caching provider causes randomly divergent balance results. Outcome: the checkup suite alerts and sometimes auto-mitigates (clears cache), letting teams find and fix bugs before users notice.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Introduction
  3. 8:14Problems with this approach
  4. 15:00Writing a checkup
  5. 16:00Zero email addresses
  6. 17:57Writing a check up
  7. 20:06When should I write a check up
  8. 23:25When should I use a checkup
  9. 25:50Splitwises checkup suite
  10. 28:08A critical infrastructure problem
  11. 30:26Final thoughts
  12. 32:36My suggestion
~/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.