Overview
Direct Answer
Function as a Service (FaaS) is a serverless computing model in which developers write and deploy individual stateless functions that execute automatically in response to specific events or triggers, with cloud providers managing all underlying infrastructure, scaling, and resource allocation.
How It Works
Developers package application logic as discrete, event-triggered functions that run on managed cloud infrastructure. When an event occurs—such as an HTTP request, database change, or scheduled timer—the platform instantiates the function, executes it in an isolated container, and deallocates resources immediately upon completion. Billing occurs only for actual execution time, typically measured in milliseconds.
Why It Matters
Organisations reduce operational overhead by eliminating server provisioning and maintenance tasks whilst achieving automatic horizontal scaling. Cost efficiency improves through per-invocation billing rather than reserved capacity, and deployment velocity accelerates by removing infrastructure dependencies from the development cycle.
Common Applications
Common use cases include processing image uploads and triggering transformations, automating workflow orchestration, handling scheduled data synchronisation tasks, responding to IoT sensor events, and processing API requests with variable traffic patterns. Real-time data processing and webhook handlers represent frequent implementations across financial services and media organisations.
Key Considerations
Cold start latency and execution time limits can constrain performance-critical workloads, whilst stateless function design requirements may complicate applications requiring persistent connections or complex session management. Vendor lock-in and debugging distributed invocations across multiple functions present additional operational challenges.
Cross-References(1)
More in Cloud Computing
Virtual Machine
InfrastructureA software emulation of a physical computer that runs an operating system and applications independently.
Container
InfrastructureA lightweight, portable software package that bundles application code with all its dependencies for consistent execution.
Pub/Sub
Architecture PatternsA messaging pattern where publishers send messages to topics and subscribers receive messages from topics of interest.
Auto-Scaling
InfrastructureAutomatically adjusting compute resources based on current demand to maintain performance and optimise costs.
gRPC
Architecture PatternsA high-performance remote procedure call framework developed by Google using Protocol Buffers for serialisation.
Internal Developer Portal
Deployment & OperationsA centralised web interface that provides developers with self-service access to infrastructure, services, documentation, and templates within their organisation.
Message Queue
Architecture PatternsA communication method where messages are stored in a queue until the receiving application can process them.
Cloud Migration
Deployment & OperationsThe process of moving data, applications, and workloads from on-premises infrastructure to cloud environments.