Simple Workflow with Azure Durable Function
Image by https://www.pexels.com/@divinetechygirl/ In this blog, we look into Azure Durable Function . It is excellent for implementing a simple workflow when we need to track the state of activities. Setup Azure Durable Function is part of the Azure Function App . Hence we just need to create a Function App in our resource group. Simple Workflow For the blog, we coined a simple use case. An HTTP interface that receives a list of image URLs. This interface calls durable function which in turn makes multiple calls to Azure Face Recognition Service (one call per image). From the result from Azure Face Recognition Service, we get a list of happy emotion ratings. Then we find the maximum and minimum values. (see this blog on how Azure Face Recognition Service works) Implementation From the diagram above, we need Durable Function HTTP Starter that takes an HTTP request. An Orchestrator to fan out the calls to Detect Face Durable Function Activity Detect Face Durable Function There are a