~/talk

Introducing Saga Pattern in Microservices with Spring Statemachine

Talkat SpringOne 2020 · 2020-09-01..09-03· [microservices, distributed-systems]
links:none on file
slides:none on file

Explains how the Saga pattern implements multi-step transactions by composing local AC/D transactions plus compensating actions, using an event-driven stack and Spring Statemachine for state topology and orchestration. Shows an orchestration-based coordinator driving a fundraiser demo that accepts pledges, accumulates totals, marks matched campaigns, and runs compensating undo steps on failure; the demo code exists and the approach trades isolation for scalability while avoiding two‑phase commit.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:05What are sagas and state machines
  3. 8:30Monolithic vs distributed systems
  4. 13:52Challenges of distributed systems
  5. 26:23Consistency models explained
  6. 31:21Distributed transactions overview
  7. 36:44Introducing the saga pattern
  8. 41:24Saga compensating actions
  9. 44:31Handling saga isolation issues
  10. 47:41State machines in sagas
  11. 49:50Demo and conclusion
~/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.