Advanced Event-Driven #saga #distributed-transactions #compensating-transactions #choreography

Saga Pattern Vocabulary

5 exercises — master distributed transaction vocabulary: saga pattern, compensating transactions, choreography vs orchestration, saga state persistence, and temporal coupling in event chains.

0 / 5 completed
Saga pattern vocabulary quick reference
  • Saga — a sequence of local transactions with compensating transactions for rollback
  • Compensating transaction — a new business operation that semantically reverses a prior step
  • Choreography saga — services react to events independently; no central coordinator
  • Orchestration saga — a central orchestrator directs each step via commands
  • Outbox Pattern — ensures atomic state update + message publishing (crash-safe)
  • Temporal coupling — saga progress depends on speed/availability of every service in the chain
  • Saga timeout — maximum wait time per step before triggering compensation
1 / 5

What problem does the Saga pattern solve in microservices architectures?