LFCA · Question #2
Which of the following would be the most appropriate use-case for a Function as a Service (FaaS) implementation?
The correct answer is C. An event-driven application with dynamic scaling. Function as a Service (FaaS) is best suited for event-driven applications that require dynamic scaling, where functions are executed in response to specific triggers without managing underlying servers.
Question
Which of the following would be the most appropriate use-case for a Function as a Service (FaaS) implementation?
Options
- AAn application that requires a local file system
- BAn application that continuously polls for work to process
- CAn event-driven application with dynamic scaling
- DAn application that requires a regionally- or globally-distributed file system
How the community answered
(40 responses)- A5% (2)
- B13% (5)
- C75% (30)
- D8% (3)
Why each option
Function as a Service (FaaS) is best suited for event-driven applications that require dynamic scaling, where functions are executed in response to specific triggers without managing underlying servers.
FaaS functions are typically stateless and have ephemeral storage, making them unsuitable for applications that require a persistent local file system.
FaaS is not ideal for applications that continuously poll for work, as this would keep the function 'warm' and incur continuous costs, negating the serverless cost-efficiency model.
FaaS platforms are designed for serverless execution of short-lived, stateless functions that respond to events, automatically scaling resources up or down based on demand. This makes them ideal for event-driven architectures where costs are optimized by paying only for actual computation time.
While FaaS functions can interact with distributed storage services, the FaaS itself does not natively provide a globally-distributed file system; such storage would be a separate, integrated service.
Concept tested: FaaS use cases and characteristics
Source: https://learn.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree#function-as-a-service-faas
Topics
Community Discussion
No community discussion yet for this question.