Repository aimed at collecting some more advanced durable function scenarios.
Azure Functions are typically part of a larger systems design. Good practice is to review the design of the overall solution using the 'Well-Architected framework', as described here: https://docs.microsoft.com/en-us/azure/architecture/framework/.
Input for the solution design, specifically looking at Durable Functions, can be found here: WAF.md.
-
Sequential handling of service bus messages - not as straight forward as you may think - link
-
Parallel HTTP calls - orchestration that makes 500,000 HTTP calls/minute on an elastic plan - link
-
Reading input with many lines and fanning out - TODO - link
I strongly recommend looking at these resources while you're getting started with Durable Functions:
- Jeff Hollan's talk - talks about how the orchestration goes to 'sleep' and uses event sourcing to get back into the state it was. Especially look at the part after 17:35.
- Performance and scale in Durable Functions (Azure Functions) - talks about numerous performance optimizations that you can do to boost the perf of your durable function. It also provides some insights into what's happening in the underlying storage account and so why batching is a good idea.
- Manage connections in Azure Functions
- Typical usage patterns for Azure Durable Functions
- Azure function Core tools - to new up and scaffold functions
- Azure Storage Explorer - to explore your storage account, in Azure or emulated
- Azure Storage Emulator - to emulate Azure storage locally, must have for local dubugging, so must have :)
- Visual Studio Code with Azure Extensions