~/talk

How to get to zero unhandled exceptions in production

Talkat Balkan Ruby 2018 · 2018-05-25..05-26· [observability, javascript]
slides:none on file

Achieves near‑zero unhandled production exceptions within about a year by three concrete moves: weekly Happy Friday sessions that systematically fix Sentry issues, splitting monitoring into separate Sentry projects for web and background jobs so retries don’t flood alerts, and standardizing error handling (a network_errors module, rescuing specific exceptions, GraphQL controller that attaches the exact query to Sentry). Adds ActiveJob retries for serialization races, a small “handle race condition” helper that removes ~30% of Sidekiq failures, and 10x/backoff retries for flaky external APIs, leaving only genuinely actionable errors.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:32Happy Friday exception fixing
  3. 6:01First principles for exceptions
  4. 8:30Handling network errors
  5. 11:40Sentry setup and monitoring
  6. 13:48Filtering noise exceptions
  7. 14:59Reading error messages carefully
  8. 16:21UTF-8 encoding exceptions
  9. 17:24GraphQL error handling
  10. 20:35GraphQL mutations and exceptions
  11. 21:40Sidekiq exception strategies
  12. 22:44Race condition handling
  13. 23:46Notification system errors
  14. 25:11Serialization error fixes
  15. 26:16Job retry policies
  16. 26:57Network error retries
  17. 27:39Achieving zero exceptions
~/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.