Skip to content

Commit 2d4631b

Browse files
committed
update based on feedback from craig and nick
Signed-off-by: Hannah Hunter <[email protected]>
1 parent c8561b0 commit 2d4631b

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed

articles/container-apps/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
items:
172172
- name: With a job
173173
href: tutorial-event-driven-jobs.md
174-
- name: Workflows in Azure Container Apps
174+
- name: Workflows
175175
href: workflows-overview.md
176176
- name: Troubleshooting
177177
items:

articles/container-apps/workflows-overview.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,46 @@ ms.reviewer: cshoe, hannahhunter
1313
# Workflows in Azure Container Apps
1414

1515
> [!NOTE]
16-
> You might see workflows referred to as *orchestrations*, especially in the context of Durable Functions. To avoid confusion with container orchestrations, this article uses the term *workflows* instead.
16+
> The term "workflow" often has multiple meanings. In the context of Durable Functions, you might see workflows referred to as orchestrations. To avoid any confusion with container orchestrations, this article uses the term workflows instead.
1717
1818
Workflows are multi-step operations that usually occur in a specific order or involve long-running tasks. Real-world scenarios requiring workflows include:
1919
- Order processing
20-
- AI agents
20+
- Orchestrating AI agents
2121
- Infrastructure management
2222
- Data processing pipelines
2323

24-
Events like temporary infrastructure failures or dependency downtime can often interrupt workflow execution. To prevent interruptions, you can use durable execution, which continues from the point of failure instead of restarting.
24+
Events like temporary infrastructure failures or dependency downtime can often interrupt workflow execution. To prevent interruptions, you can use *durable execution*, which continues from the point of failure instead of restarting.
2525

26-
Azure provides two code-oriented workflow frameworks you can use to build apps that run on Azure Container Apps:
27-
- **Durable Task SDKs** (preview)
28-
- **Durable Functions**
26+
## Durable execution
27+
28+
Durable execution provides a fault-tolerant approach to running code. It's designed to handle failures gracefully through automatic retries and state persistence. Durable execution is built on three core principles:
29+
30+
- **Incremental execution:** Each operation is executed independently and in order.
31+
- **State persistence:** The output of each step is saved to ensure progress is not lost.
32+
- **Fault tolerance:** If a step fails, the operation is retried from the last successful step, skipping previously completed steps.
33+
34+
Durable execution benefits scenarios requiring stateful chaining of operations. It simplifies the implementation of complex, long-running, stateful, and fault-tolerant application patterns.
2935

30-
These frameworks continuously checkpoint workflow state as the app runs and automatically handles retries to ensure durable execution.
36+
You can achieve durable execution in your workflows in Azure Container Apps using one of the Azure-managed workflow frameworks.
3137

3238
## Workflow frameworks for developers in Azure
3339

40+
Azure provides two code-oriented workflow frameworks you can use to build apps that run on Azure Container Apps:
41+
- **Durable Task SDKs** (preview)
42+
- **Durable Functions**
43+
3444
The Durable Task SDKs and Durable Functions workflow frameworks are designed for developers and available in multiple programming languages.
3545

3646
### Durable Task SDKs (preview)
3747

38-
The Durable Task SDKs are lightweight client SDKs that provide an unopinionated programming model for authoring workflows. They allow your app to connect to a workflow engine hosted in Azure called the [Durable Task Scheduler](../azure-functions/durable/durable-task-scheduler/durable-task-scheduler.md).
48+
The Durable Task SDKs are lightweight client SDKs that provide an unopinionated programming model for authoring workflows. Unlike Durable Functions, which is tightly coupled with the Functions compute, these portable SDKs are decoupled from any compute. They allow your app to connect to a workflow engine hosted in Azure called the [Durable Task Scheduler](../azure-functions/durable/durable-task-scheduler/durable-task-scheduler.md).
49+
50+
To ensure durable execution, the Durable Task SDKs require a storage backend to persist workflow state as the app runs. The Durable Task Scheduler backend continuously checkpoints workflow state as the app runs and automatically handles retries to ensure durable execution. The scheduler is responsible for:
3951

40-
To ensure durable execution, the Durable Task SDKs require a storage backend to persist workflow state as the app runs. The Durable Task Scheduler works as the backend for apps using the Durable Task SDKs.
52+
- Schedules and manages workflow task execution.
53+
- Stores and maintains workflow state.
54+
- Handles persistence, failures, and retries.
55+
- Load balances orchestration execution at scale on your container app.
4156

4257
#### Quickstarts
4358

0 commit comments

Comments
 (0)