You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workflows are multi-step operations that may need to happen in a certain order and/or involve long-running tasks. Some real-world scenarios that require workflows include:
14
+
15
+
> [!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.
17
+
18
+
Workflows are multi-step operations that usually occur in a specific order or involve long-running tasks. Real-world scenarios requiring workflows include:
15
19
- Order processing
16
-
- AI agents
17
-
- Infrastructure management
18
-
- Data processing pipeline
20
+
- AI agents
21
+
- Infrastructure management
22
+
- Data processing pipelines
19
23
20
-
Because workflows involve multiple steps and could be long-running, execution may be interrupted by events such as temporary infrastructure failures or dependency downtime. As such, it's important to have *durable execution*, i.e. execution continues from the point of failure instead of restarting in the event of temporary failures.
24
+
Execution may be interrupted by events such as temporary infrastructure failures or dependency downtime. To prevent interruptions, you can leverage durable execution, which continues from the point of failure instead of restarting.
21
25
22
-
Azure provides two code-oriented workflow frameworks you can use to build apps that run on Azure Container Apps: **Durable Task SDKs** (currently in public preview) and **Durable Functions**. These frameworks continuously checkpoint workflow state as the app runs and automatically handle retries to ensure durable execution.
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**
23
29
24
-
> [!NOTE]
25
-
> You might see workflows referred to as *orchestrations*, especially in the context of Durable Functions. To avoid creating confusion with container orchestrations, this article refrains from using orchestrations to refer to workflows.
30
+
These frameworks continuously checkpoint workflow state as the app runs and automatically handles retries to ensure durable execution.
26
31
27
32
## Workflow frameworks for developers in Azure
28
-
The workflow frameworks described in this section are designed for developers and are available in multiple programming languages.
29
33
30
-
### Durable Task SDKs (public preview)
31
-
The Durable Task SDKs are lightweight client SDKs that provide a relatively un-opinionated programming model for authoring workflows. They allow your app to connect to a workflow engine called the [Durable Task Scheduler](/articles/azure-functions/durable/durable-task-scheduler/durable-task-scheduler.md) hosted in Azure.
34
+
The Durable Task SDKs and Durable Functions workflow frameworks are designed for developers and available in multiple programming languages.
35
+
36
+
### Durable Task SDKs (preview)
37
+
38
+
The Durable Task SDKs are lightweight client SDKs that provide an un-opinionated 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).
32
39
33
-
To ensure durable execution, the Durable Task SDKs require a storage backend to persist workflow state as the app runs. In this case, the Durable Task Scheduler also plays the role of the backend for apps leveraging the Durable Task SDKs.
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.
Try out configuring the Durable Task SDKs for your container app using the following quickstarts.
45
+
46
+
| Quickstart | Description |
47
+
| ---------- | ----------- |
48
+
|[Configure a Durable Task SDK in your application](../azure-functions/durable/durable-task-scheduler/quickstart-portable-durable-task-sdks.md)| Learn how to create workflows that use the fan-out/fan-in Durable Functions application pattern. Currently available with the .NET, Python, and Java Durable Task SDKs. |
49
+
|[Configure a Durable Task SDK in your container app][TODO]| Use the Azure Developer CLI to create Durable Task Scheduler resources and deploy them to Azure with two container apps running workflow tasks. Currently available with the .NET, Python, and Java Durable Task SDKs. |
39
50
40
51
### Durable Functions
41
-
[Durable Functions](/articles/azure-functions/durable/durable-functions-overview.md) is the other code-oriented workflow framework in Azure. As part of Azure Functions, Durable Functions inherits many of its characteristics. Examples include:
42
-
- Integrations with other Azure services through Azure Functions [triggers and bindings](/articles/azure-functions/functions-triggers-bindings.md)
52
+
53
+
As a feature of Azure Functions, [Durable Functions](../azure-functions/durable/durable-functions-overview.md) inherits many of its characteristics as a code-oriented workflow framework offering in Azure. For example, with Durable Functions, you benefit from:
54
+
- Integrations with other Azure services through Azure Functions [triggers and bindings](../azure-functions/functions-triggers-bindings.md)
43
55
- Local development experience
44
56
- Serverless pricing model
45
57
46
-
If you want to host a Durable Functions app in Azure Container Apps, you must use the [Microsoft SQL backend](/articles/azure-functions/durable/durable-functions-storage-providers.md#microsoft-sql-server-mssql) today for state persistence.
58
+
> [!NOTE]
59
+
> Durable Functions with Durable Task Scheduler currently only runs in App Service and Elastic Premium SKUs. Until it's available in other SKUs (like Flex Consumption), you need to use the [Microsoft SQL backend](../azure-functions/durable/durable-functions-storage-providers.md#microsoft-sql-server-mssql) for state persistence when hosting a Durable Functions app in Azure Container Apps.
47
60
48
61
## How to choose
49
-
You can host apps built using either the Durable Task SDKs or Durable Functions in Azure Container Apps. See [guidance for choosing the framework](/articles/azure-functions/durable/durable-task-scheduler/choose-orchestration-framework.md) you need.
62
+
63
+
Applications built using either the Durable Task SDKs or Durable Functions can be hosted in Azure Container Apps. [Learn which framework works best for your scenario](../azure-functions/durable/durable-task-scheduler/choose-orchestration-framework.md).
50
64
51
65
## Next steps
52
-
- Learn more about the [Durable Task Scheduler](/articles/azure-functions/durable/durable-task-scheduler/durable-task-scheduler.md)
66
+
67
+
> [!div class="nextstepaction"]
68
+
> [Learn more about the Durable Task Scheduler](../azure-functions/durable/durable-task-scheduler/durable-task-scheduler.md)
0 commit comments