Azure Durable Functions
If you decide to delve deeper into the usage of serverless, you may consider Azure Durable Functions as a good option for designing orchestration scenarios. Azure Durable Functions let us write stateful workflows, managing the state behind the scenes. To do so, you will have to write an orchestrator function, which is basically a procedure that defines the workflow that you want to run. You may also need some entity functions to enable the reading of small pieces of state.
The following are some application patterns where this solution can be used; however, it is important to remember that it is not suitable for all applications:
- Function chaining: When you need to execute a sequence of functions in a particular order.
- Async HTTP APIs: A good way to solve long-running operations with external clients, where you will have the opportunity to get a status API because of the orchestrator function. There is a sample code of this pattern as soon...