software
Saga Pattern
Saga Pattern
Definition
The Saga pattern manages distributed transactions across microservices by breaking them into a sequence of local transactions, each publishing an event or message that triggers the next step. If a step fails, compensating transactions roll back the preceding steps.
Sagas come in two flavors: choreography (event-driven coordination) and orchestration (a central coordinator directs steps).
Ship secure code faster
Crash Override integrates security into the developer workflow. No context switching, no waiting on reviews.