~/lightning

"Railways, States & Sagas: Pure Ruby for Wizards"

Lightningat RubyConfBY 2019 · on Saturday, 2019-04-06· [microservices, ruby-on-rails]
links:none on file
slides:none on file

Ruby implementation of the Saga pattern that runs as a pipeline, locks each subject to prevent parallel runs and records immutable events (action_attempt and done). Each step implements call/undo/apply methods; after a chain finishes the system rechecks external systems with apply because HTTP 200 can be misleading. Failure triggers reversed undo steps; if undo fails the item stays locked for manual retries. Prototype is extracted to a <200-line library, built over six months and then three months to tidy.

AI-written summary · about

  1. 0:00Introduction to eBay Mac
  2. 1:17The saga pattern
  3. 2:19Implementing the orchestrator
  4. 3:47Handling real-world failures
  5. 5:34Pipeline processing mechanics
  6. 8:07Failure recovery strategies
  7. 9:41Code architecture insights
  8. 14:11Conclusion and wrap-up
~/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.