~/talk

Tackling transactions in Microservices applications

links:none on file
slides:none on file

ACID across services is unavailable so two‑phase commit introduces blocking, a coordinator single point of failure and poor scalability, while the SAGA pattern splits a global transaction into sequential or parallel steps with compensating actions and eventual consistency. Implementation uses a durable distributed log (e.g. Kafka or Kinesis) and an execution coordinator that writes each step to the log before sending requests, requires idempotent compensation and commutative requests, and recovers by retrying or running compensations until the saga reaches a consistent outcome.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:05Why monoliths become problematic
  3. 6:05Moving to microservices
  4. 7:15Two-phase commit protocol
  5. 14:16Introducing Sagas
  6. 19:32Choreography vs orchestration
  7. 25:00Implementing saga execution
  8. 39:57Handling coordinator failures
  9. 42:50Benefits of Sagas
  10. 46:10Q&A
~/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.