Please enable JavaScript.
Coggle requires JavaScript to display documents.
5 durable functions - Coggle Diagram
5 durable functions
Application patterns
- Function chaining
- sequence of functions in a specified order.
- output of one function is applied to the input of the next function
- Fan out/fan in
- multiple functions in parallel
- result aggregated
- Async HTTP APIs
An HTTP call can trigger the long-running action. Then, it can redirect the client to a status endpoint. The client can learn when the operation is finished by polling this endpoint
-
-
design
- Function app
- kudu
- wwwroot
- npm install durable-functions
- restart
- client function for submitting a design proposal
- Durable Functions HTTP starter
- orchestrator function
- Durable Functions orchestrator
- activity function
- Durable Functions activity
5- Enable Azure Functions version 2 compatibility mode
- configuration
- function runtime setting
- runtime version 2
timers
Use durable timers in orchestrator functions instead of the setTimeout() and setInterval() functions.
-
-
-
definition
-
- perform long-lasting, stateful operations
- orchestrate a long-running workflow
- retain state between function calls
- scales as needed
- chain functions together.
- orchestrate and coordinate function
- state is managed for you
Function types
- Client
- response to an event from many sources
- any of the supported languages
- Orchestrator
- describe how actions are executed, and the order
- C# or JavaScript)
-
Logic Apps
Durable Functions:
- run custom logic
- code first
Azure Logic Apps:
- integrating Azure services and components
- design first
time design
- function app
- kudu
- CMD > wwwroot
- npm install moment
- Durable Functions activity
-
Orchestration function
- workflows in code.
- Functions can be called both synchronously and asynchronously. (Output from the called functions is saved locally)
- Azure checkpoints the progress of a function