(Unit 4 of 9) Azure Functions Flashcards
Describe Azure Functions
Azure Functions is an event-driven, serverless compute option that doesn’t require maintaining virtual machines or containers.
How does Azure functions work?
Azure Functions runs your code when it’s triggered and automatically deallocates resources when the function is finished.
Describe a scenario in which you would use Azure Functions.
Using Azure Functions is ideal when you’re only concerned about the code running your service and not about the underlying platform or infrastructure.
When would it be appropriate to use FUNCTIONS?
Functions are commonly used when you need to perform work in response to an event (often via a REST request), timer, or message from another Azure service,
Functions ____ automatically based on demand, so they may be a good choice when demand is variable
SCALE
Describe the benifits of Azure Functions
- No infrastructure management (Serverless environment)
- Scalability (app works under any workload)
- Pay-As-You-Use
Name the 2 types of Functions
Functions can be either stateless or stateful.
Describe the first type of function that can be used when using AZ Functions. (1/2)
When they’re stateless (the default), they behave as if they’re restarted every time they respond to an event.
Describe the second type of function.
When they’re stateful (called Durable Functions), a** context** is passed through the function to track prior activity.