~/talk

Saga Pattern for Distributed Transactions

Talkat Conf42 Cloud Native 2023 · on Thursday, 2023-03-30· [microservices]
slides:none on file

Explains that a Saga is a sequence of local transactions with explicit compensating steps and demonstrates it on a four‑service stock trade where compensating transfers and audit rollbacks actually run, using a message broker for events. Compares choreography (event-driven peers, few services, harder testing, cyclic risk) versus orchestration (central controller, easier reasoning, single point of failure). Covers concrete failure paths, required compensating transactions, and the need for observability and state tracking.

AI-written summary · about

  1. 0:00Saga Pattern intro
  2. 3:06ACID in monoliths
  3. 5:14Microservice transaction challenges
  4. 6:18Saga for distributed consistency
  5. 7:43Choreography vs orchestration
  6. 8:46Benefits and Drawbacks of Choreography
  7. 10:12Benefits and Drawbacks of Orchestration
  8. 11:15Choreography example
  9. 13:46Choreography complexity
  10. 14:07Orchestration example
  11. 15:50Saga pattern considerations
~/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.