Classification
2- Complexity
- Medium
- Impact area
- Technical
The Saga pattern coordinates distributed transactions across multiple services by composing local transactions with compensations to maintain overall consistency.
360° overview
Six perspectives place the building block in context. The numbers show where each perspective continues in the reading path.
The building block at a glance
Saga Pattern
360°
Integrations
Workflow
+2
A long-running transaction is split into steps, each paired with a compensating action; when a later step fails, the already-committed steps are undone in reverse order via their compensations, because a distributed transaction cannot hold a lock across all the resources at once.
Value stream stage: Build