~/talk

Services, Scale, Backgrounding and WTF is going on here?!???

Talkat GoGaRuCo 2012 · 2012-09-14..09-15· [microservices, devops-and-delivery]
slides:none on file

Extraction from a monolith breaks synchronous assumptions: queuing via Resque + Redis can enqueue an ID before the DB transaction commits, producing unusable accounts under a unique-email constraint. Fixes applied include wrapping create+enqueue in DB transactions, retrying the job a few times with backoff (usually succeeds within five attempts), and moving side effects out of callbacks or to after_create vs after_commit where available. Long-term fixes: require idempotent request ID for mail, structured logging, DB constraints, audits and periodic sanity checks.

AI-written summary · about

  1. 0:00Intro
  2. 0:36Services, Scale
  3. 2:25Problem
  4. 5:02Timeout to Redis
  5. 6:20Solution
  6. 10:24Better(ish)
  7. 14:30Reasonable?
  8. 15:02Mailers
  9. 17:35An event fails!
  10. 20:05Make Idempotent
  11. 20:50Additional calls
  12. 21:31What if...
  13. 22:33Historical Record
  14. 23:54Prevent Bad Data
  15. 25:25Fix Errors
  16. 26:16Extract Services
  17. 27:18In Review
  18. 27:49Thank You! @davetron 5000
~/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.