Glossary term
What is Saga? Meaning for developers
A sequence of local transactions with compensating actions. Example: Payment fails → release stock → cancel order.
Learn it properly · System DesignLesson 39: Event-Driven Architecture for BeginnersThe order service calls seven other services and fails whenever any of them does. Event-driven architecture flips it: announce what happened and let whoever cares react. Events vs commands, the four patterns called “event-driven”, choreography vs orchestration, and sagas.