~/talk

Coding for Failure

Talkat RubyConf 2008 · 2008-11-06..11-08· [ruby-on-rails]
links:none on file
slides:none on file

Advocates three practical rules: fail fast by adding sanity checks (ping external APIs before a multi-step purchase), fail loud by logging and using HopToad to aggregate/count exceptions instead of flooding inboxes, and zero trust components by validating every input (qmail-style process isolation) and checking exit codes for system calls and cron jobs. Shows concrete fixes: use save! or transactions for batch updates, rescue specific Net::HTTP/SMTP error groups, avoid inline rescue, and use a primary file to run one-off tasks on a single server.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Fail Whale
  3. 3:31Failure Points
  4. 5:35When to Relax
  5. 7:20Fail Fast
  6. 12:45Email Exceptions
  7. 14:58Zero Trust
  8. 16:15Exceptions
  9. 20:12Cron Jobs
  10. 22:58Inline Rescue
~/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.