Why it matters
Distributed transactions hard. Sagas enable them without 2PC. Understanding shapes complex workflows.
Advertisement
The architecture
Orchestrator directs steps.
Each step: forward action + compensating action.
Advertisement
How it works end to end
Forward: normal actions to complete workflow.
Compensation: rollback each completed step on failure.
Idempotency: safe retries.
Tools: AWS Step Functions, Temporal, Camunda.