Messaging Patterns

The Saga Pattern: Distributed Transactions Without 2PC

Coordinate long-running business transactions across services using a sequence of local transactions and compensating actions.

February 13, 2026
#saga#microservices#distributed-systems

A Saga is a sequence of local transactions where each step publishes an event or sends a message to trigger the next. If a step fails, the saga executes compensating transactions to undo the work already done. There are two coordination styles: choreography (each service reacts to events with no central orchestrator) and orchestration (a central saga orchestrator directs each participant).

Continue reading