Skip to content
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).

Can this ship? Are we exposed? Can you prove it?

Every CISO is asking these three questions. We answer them with facts, not guesses, from repository to runtime.