~/talk

Managing distributed transactions across microservices with the Saga pattern

Talkat WhatTheStack 2024 · on Saturday, 2024-09-14· [microservices, cloud-infrastructure]
links:none on file
slides:none on file

Shows that the Saga pattern turns a cross-service ACID problem into a sequence of local transactions with compensating steps and argues orchestration is easier to debug than choreography. Implements the pattern with AWS Step Functions driving Node.js code deployed via AWS SAM, a small blueprint of three–four services, and a QR-linked Git repo. Demonstrates a failing payment path that triggers refund, restock, and order cancel compensations; the deployed example runs and rolls back successfully in the demo environment.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:50What are microservices
  3. 2:34Monolithic vs microservices
  4. 5:47Why move from monoliths
  5. 7:34Organizational shift to microservices
  6. 9:02Microservices architecture overview
  7. 11:34Distributed transactions problem
  8. 13:00Saga pattern explained
  9. 14:27Choreography implementation
  10. 17:15Orchestration implementation
  11. 19:04Cloud-native Saga options
  12. 20:55Live demo and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.