Orchestration & durability
Build long-running, multi-step business processes that survive failures and recover gracefully. This pattern covers durable workflow orchestration with compensation logic, saga patterns for distributed transactions, and reliable timers for scheduled operations — all with built-in fault tolerance.
Overview
When to Use This Pattern
-
You need multi-step business processes that must complete reliably despite failures
-
Your application requires compensation logic to undo partial work when a step fails
-
You want to implement saga patterns for coordinating distributed transactions
-
You need reliable timers or scheduled actions that survive process restarts
Sample Projects
The following sample projects demonstrate this pattern:
-
transfer-workflow — basic multi-step transfer workflow
-
transfer-workflow-orchestration — orchestration-based saga for fund transfers
-
transfer-workflow-compensation — transfer workflow with compensation logic for failure recovery
-
choreography-saga-quickstart — choreography-based saga pattern for distributed coordination