~/talk

Saga Pattern Made Easy

slides:none on file

Demonstrates a concrete Saga implementation using Temporal and a tiny saga library to run a trip-planning workflow that books flight, hotel, and excursion, with per-activity retry policies, timers, and an idempotency key to avoid double bookings. Live-codes the app, injects failures, and shows compensations running in LIFO compensations order to cancel excursion, hotel, then flight; uses Temporal orchestration (Java SDK + optional Cloud) and confirms the pattern works end-to-end while noting a duplicated-booking glitch to debug.

AI-written summary · about

  1. 0:00Introduction to Saga pattern
  2. 1:03What are Sagas and why use them
  3. 6:24Sagas in microservices context
  4. 10:04Retry libraries and challenges
  5. 15:00Temporal’s event-driven approach
  6. 17:16Workflow and activities in code
  7. 22:56Adding compensations to Saga
  8. 28:20Microservices orchestration
  9. 35:43Recap and key takeaways
  10. 37:52Q&A session
~/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.