State management in serverless architecture using azure durable functions
State management in serverless architecture using azure durable functions
Durable Functions = State management by Azure functions
- Manage/ Save states in azure functions
- Handles long running task
- An extension to the Azure functions and Azure web jobs.
- They can call other functions synchronously & Asynchronously.
- They define workflow in code.
What is Serverless Architecture?
- No server dedicated to a single app
- Third-party services
- You don't own a server
- Custom code that is not always on.
What is State: State is a nothing but the information being retained by the program.
Orchestration Vs Choreography?
Choreography
- Employs a decentralized approach for service composition
Feature of Durable Azure Functions
- Client -> Orchestrator -> Activity
What is Orchestration Client
- Client binding enables you to write a function
- Orchestration Functions/ Triggers
Activity Functions
- The basic unit of work in a durable orchestration.
Pattern#1Function chaining
- Referred a function calling another function.
Patter#2 Fan-Out/Fan-In
Pattern#3 Async HTTP APIs
Pattern#4 Monitoring
Comments