Discovering stateful durable functions
Durable Functions is an extension of Azure Functions that allows you to write stateful, serverless workflows (or orchestrations). You define the stateful workflows with orchestrator functions and you define stateful entities with entity functions. Durable functions manage the state, checkpoints, and restarts for you, using data stored in the storage account to keep track of the orchestration progress.
When you have more complex workflows and business logic that needs to be broken into multiple functions with stateful coordination, previously, you’d have had to come up with a creative solution using multiple services yourself to try and achieve this. That’s the primary use case for durable functions. Let’s briefly look at the function types and the typical patterns that durable functions help with.
Types of durable function
To achieve this kind of orchestration, durable functions have four types of functions:
-
...