Skip to content

Commit 3ed4773

Browse files
committed
update hosting model etc
Signed-off-by: Hannah Hunter <[email protected]>
1 parent 7f90d97 commit 3ed4773

8 files changed

Lines changed: 36 additions & 27 deletions

File tree

articles/azure-functions/durable/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
items:
66
- name: What is Durable Task?
77
href: what-is-durable-task.md
8-
- name: Choose your hosting option
8+
- name: Choose your hosting model
99
href: choose-orchestration-framework.md
1010
- name: Quickstarts
1111
items:

articles/azure-functions/durable/choose-orchestration-framework.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Choose your hosting option
2+
title: Choose your hosting model
33
description: Learn how your hosting platform determines whether to use Durable Functions for Azure Functions or the standalone Durable Task SDKs for self-hosted scenarios.
44
author: cgillum
55
ms.author: cgillum
@@ -9,20 +9,24 @@ ms.topic: concept-article
99
ms.service: azure-functions
1010
ms.subservice: durable
1111
titleSuffix: Durable Task
12-
#Customer intent: As a developer, I want to understand which Durable Task programming model to use based on my hosting platform.
12+
#Customer intent: As a developer, I want to understand which Durable Task hosting model to use based on my hosting platform.
1313
---
1414

15-
# Choose your hosting option
15+
# Choose your hosting model
1616

17-
As described in [What is Durable Task?](what-is-durable-task.md), the Durable Task framework supports two hosting models: **Azure Functions** (via Durable Functions) and **self-hosted** (via the standalone Durable Task SDKs). Both hosting models provide the same core durable execution capabilities (orchestrations, activities, timers, external events, and more) but differ in how your application is hosted, scaled, and deployed.
17+
As described in [What is Durable Task?](what-is-durable-task.md), the Durable Task framework supports two hosting models:
18+
- **Azure Functions** (via [Durable Functions](./durable-functions-overview.md))
19+
- **Self-hosted** (via [the standalone Durable Task SDKs](./durable-task-scheduler/durable-task-overview.md)).
1820

19-
In general, where your application runs determines which programming model you use. If you're building on Azure Functions, you use Durable Functions. If you're building on any other compute platform, you use the standalone Durable Task SDKs.
21+
Both hosting models provide the same core durable execution capabilities (orchestrations, activities, timers, external events, and more) but differ in how your application is hosted, scaled, and deployed.
22+
23+
In general, where your application runs determines which hosting model you use. If you're building on Azure Functions, you use Durable Functions. If you're building on any other compute platform, you use the standalone Durable Task SDKs.
2024

2125
## Choosing based on hosting platform
2226

23-
If you already know your application's hosting platform, the following table can help you determine which programming model to use:
27+
If you already know your application's hosting platform, the following table can help you determine which hosting model to use:
2428

25-
| Hosting platform | Programming model |
29+
| Hosting platform | Hosting model |
2630
| - | - |
2731
| **Azure Functions** (Consumption, Flex Consumption, Premium) | Durable Functions |
2832
| **Azure Container Apps** (with Azure Functions runtime) | Either |
@@ -31,11 +35,11 @@ If you already know your application's hosting platform, the following table can
3135
| **Virtual machines or on-premises** | Standalone Durable Task SDKs |
3236

3337
> [!NOTE]
34-
> Azure App Service and Azure Container Apps can both host the Azure Functions runtime, either through [fully managed Azure Functions integration](../functions-scale.md#overview-of-plans) or by deploying the Functions runtime directly. Thus, both platforms support either programming model. For more information on Azure Functions hosting options, see [Azure Functions hosting plans](../functions-scale.md).
38+
> Azure App Service and Azure Container Apps can both host the Azure Functions runtime, either through [fully managed Azure Functions integration](../functions-scale.md#overview-of-plans) or by deploying the Functions runtime directly. Thus, both platforms support either hosting model. For more information on Azure Functions hosting models, see [Azure Functions hosting plans](../functions-scale.md).
3539
36-
## Comparing the programming models
40+
## Comparing the hosting models
3741

38-
The following table summarizes the key differences between the two programming models:
42+
The following table summarizes the key differences between the two hosting models:
3943

4044
| | Durable Functions (Azure Functions) | Standalone Durable Task SDKs (self-hosted) |
4145
| - | - | - |
@@ -51,7 +55,7 @@ The following table summarizes the key differences between the two programming m
5155
>
5256
> The [Flex Consumption](../flex-consumption-plan.md) hosting plan offers [an "always read instances" concept](../flex-consumption-plan.md#always-ready-instances) as cold start mitigation.
5357
>
54-
> Learn more about [Azure Functions hosting options](../functions-scale.md).
58+
> Learn more about [Azure Functions hosting models](../functions-scale.md).
5559
5660
### Built-in HTTP APIs
5761

@@ -111,16 +115,16 @@ Learn more: [Task hubs](durable-functions-task-hubs.md)
111115

112116
Learn more: [Diagnostics](durable-functions-diagnostics.md) | [Versioning](durable-functions-versioning.md)
113117

114-
Both programming models support the **[Durable Task Scheduler](./durable-task-scheduler/durable-task-scheduler.md)** as a state storage backend, which provides both state storage and extra monitoring capabilities. Durable Functions also supports several bring-your-own (BYO) storage options for scenarios that require them. For more information, see [Storage providers](durable-functions-storage-providers.md).
118+
Both hosting models support the **[Durable Task Scheduler](./durable-task-scheduler/durable-task-scheduler.md)** as a state storage backend, which provides both state storage and extra monitoring capabilities. Durable Functions also supports several bring-your-own (BYO) storage options for scenarios that require them. For more information, see [Storage providers](durable-functions-storage-providers.md).
115119

116120
## More considerations
117121

118-
When choosing between the two programming models, consider the following factors:
122+
When choosing between the two hosting models, consider the following factors:
119123

120124
| Choose Durable Functions if... | Choose standalone Durable Task SDKs if... |
121125
| - | - |
122126
| You want built-in Azure Functions triggers (HTTP, Queue, Timer, etc.). | You want full control over your container and its entry points. |
123-
| You're already familiar with the Azure Functions programming model. | You prefer a lightweight SDK without the Azure Functions runtime overhead. |
127+
| You're already familiar with the Azure Functions hosting model. | You prefer a lightweight SDK without the Azure Functions runtime overhead. |
124128
| You want Azure portal integration for function management. | You want the same code to be portable across container platforms (AKS, App Service, etc.). |
125129
| You need to choose from [multiple storage backends](durable-functions-storage-providers.md). | You have existing non-Functions application code to integrate with. |
126130
| You need **serverless, event-driven apps** that scale to zero. | You need **always-on, low-latency workloads** without cold start delays. |

articles/azure-functions/durable/durable-functions-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.subservice: durable
1515
Durable Functions is an extension of [Azure Functions](../functions-overview.md) that lets you build stateful workflows in a serverless environment by writing orchestrator, activity, and entity functions in code. The Durable Functions runtime manages state, checkpoints, retries, and recovery so your workflows can run reliably for long periods.
1616

1717
> [!TIP]
18-
> Not sure whether to use Durable Functions or the standalone Durable Task SDKs? See [Choose your hosting option](choose-orchestration-framework.md).
18+
> Not sure whether to use Durable Functions or the standalone Durable Task SDKs? See [Choose your hosting model](choose-orchestration-framework.md).
1919
2020
## Supported languages
2121

@@ -48,6 +48,6 @@ After your first workflow is running, explore [Task hubs](durable-functions-task
4848
> [Create your first durable function (C#)](durable-functions-isolated-create-first-csharp.md)
4949
5050
- [What is Durable Task?](what-is-durable-task.md)
51-
- [Choose your hosting option](choose-orchestration-framework.md)
51+
- [Choose your hosting model](choose-orchestration-framework.md)
5252
- [Durable Functions storage providers](durable-functions-storage-providers.md)
5353
- [Durable Task Scheduler overview](durable-task-scheduler/durable-task-scheduler.md)

articles/azure-functions/durable/durable-orchestration-versioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ Here's what to expect when you deploy your updated orchestrator function with th
437437
- **Old worker restrictions**: Old workers can process only the orchestrations with a version equal to or lower than the version specified in their own `defaultVersion` in `host.json`, because they aren't expected to have orchestrator code compatible with newer versions.
438438

439439
> [!NOTE]
440-
> Orchestration versioning doesn't affect worker lifecycle. The Azure Functions platform manages worker setup and decommissioning based on regular rules depending on hosting options.
440+
> Orchestration versioning doesn't affect worker lifecycle. The Azure Functions platform manages worker setup and decommissioning based on regular rules depending on hosting models.
441441
442442
## Example: Replace an activity in the sequence
443443

articles/azure-functions/durable/durable-task-scheduler/includes/function-app-integrated-creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 03/19/2025
77

88
1. Navigate to the Function app creation blade.
99

10-
:::image type="content" source="../media/create-durable-task-scheduler/function-app-hosted-app-service.png" alt-text="Screenshot of hosting options for Function apps.":::
10+
:::image type="content" source="../media/create-durable-task-scheduler/function-app-hosted-app-service.png" alt-text="Screenshot of hosting models for Function apps.":::
1111

1212
1. In the **Create Function App (Flex Consumption)** blade, fill in the information in the **Basics** tab.
1313

articles/azure-functions/durable/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ landingContent:
3030
url: ./durable-task-scheduler/durable-task-overview.md
3131
- linkListType: concept
3232
links:
33-
- text: Choose your hosting option
33+
- text: Choose your hosting model
3434
url: choose-orchestration-framework.md
3535
- text: Programming model
3636
url: programming-model-overview.md

articles/azure-functions/durable/quickstart-mssql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ For more information about these functions, see [Durable Functions types and fea
8484
> [!NOTE]
8585
> If you already have an MSSQL-compatible database, you can skip this section and skip the next section on setting up a Docker-based local database.
8686
87-
Because the MSSQL backend is designed for portability, you have several options to set up your backing database. For example, you can set up an on-premises SQL Server instance, use a fully managed instance of [Azure SQL Database](/azure/azure-sql/database/sql-database-paas-overview), or use any other SQL Server-compatible hosting option.
87+
Because the MSSQL backend is designed for portability, you have several options to set up your backing database. For example, you can set up an on-premises SQL Server instance, use a fully managed instance of [Azure SQL Database](/azure/azure-sql/database/sql-database-paas-overview), or use any other SQL Server-compatible hosting model.
8888

8989
You can also do local, offline development by using [SQL Server Express](https://www.microsoft.com/sql-server/sql-server-downloads) on your local Windows computer or use a [SQL Server Docker image](https://hub.docker.com/_/microsoft-mssql-server) running in a Docker container.
9090

articles/azure-functions/durable/what-is-durable-task.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ Durable Task is Microsoft's technology for building workflows and orchestrations
1818

1919
Workflows can run for hours, days, or even months, reliably resuming from the last completed step after any crash, restart, or redeployment. Common use cases include distributed transactions, multi-agent AI orchestration, data processing pipelines, and infrastructure management.
2020

21-
Durable Task encompasses the **[Durable Task SDKs](./choose-orchestration-framework.md)** for self-hosted applications, **[Durable Functions](durable-functions-overview.md)** for serverless hosting on Azure Functions, and the **[Durable Task Scheduler](./durable-task-scheduler/durable-task-scheduler.md)** - a fully managed backend service purpose-built for durable workloads.
21+
Durable Task encompasses:
22+
- The **[Durable Task SDKs](./durable-task-scheduler/durable-task-overview.md)** for self-hosted applications.
23+
- The **[Durable Functions](durable-functions-overview.md)** for serverless hosting on Azure Functions
24+
- The **[Durable Task Scheduler](./durable-task-scheduler/durable-task-scheduler.md)**, a fully managed backend service purpose-built for durable workloads.
2225

2326
> [!NOTE]
2427
> *Durable execution* is an industry-wide approach to making ordinary code fault-tolerant by automatically persisting its progress. Durable Task is Microsoft's implementation of durable execution.
@@ -51,7 +54,7 @@ Durable Task supports multiple programming languages across two hosting models:
5154
> [!NOTE]
5255
> [Go](https://github.com/microsoft/durabletask-go) is also available as a community-supported, open-source SDK for self-hosted scenarios, but is currently in experimental stages and not yet recommended for production use.
5356
54-
For guidance on choosing between Azure Functions and self-hosted, see [Choose your hosting option](./choose-orchestration-framework.md).
57+
For guidance on choosing between Azure Functions and self-hosted, see [Choose your hosting model](./choose-orchestration-framework.md).
5558

5659
## Architectural components
5760

@@ -61,7 +64,7 @@ Durable Task has two main layers: an **SDK** that you use in your application co
6164

6265
The Durable Task SDK is what you use to author orchestrations, activities, and entities in your application code. It internally handles the mechanics of durable execution - replaying orchestrator functions, managing local execution context, and communicating with the state storage backend. Durable Task offers several SDK options for the different languages and hosting models mentioned previously.
6366

64-
For guidance on choosing between these options, see [Choose your hosting option](./choose-orchestration-framework.md).
67+
For guidance on choosing between these options, see [Choose your hosting model](./choose-orchestration-framework.md).
6568

6669
### State storage backend
6770

@@ -91,7 +94,9 @@ The following video highlights the benefits of Azure Durable Functions:
9194
## Next steps
9295

9396
> [!div class="nextstepaction"]
94-
> [Choose your hosting option](./choose-orchestration-framework.md)
97+
> [Choose your hosting model](./choose-orchestration-framework.md)
9598
96-
> [!div class="nextstepaction"]
97-
> [Learn about the Durable Task Scheduler](./durable-task-scheduler/durable-task-scheduler.md)
99+
- Get started with:
100+
- [The Durable Task SDKs](./durable-task-scheduler/durable-task-overview.md)
101+
- [Durable Functions](./durable-functions-overview.md)
102+
- [The Durable Task Scheduler](./durable-task-scheduler/durable-task-scheduler.md)

0 commit comments

Comments
 (0)