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
Cloud-Native Development
Service ModelsAn approach to building applications that fully exploit cloud computing advantages including microservices, containers, dynamic orchestration, and continuous delivery.
REST API
Architecture PatternsAn API architectural style using HTTP methods and stateless communication for web service interaction.
Cloud Repatriation
Strategy & EconomicsThe process of moving workloads back from public cloud environments to on-premises or private cloud infrastructure.
Internal Developer Portal
Deployment & OperationsA centralised web interface that provides developers with self-service access to infrastructure, services, documentation, and templates within their organisation.
Service Mesh
Architecture PatternsAn infrastructure layer handling service-to-service communication in microservices, managing traffic, security, and observability.
Disaster Recovery as a Service
Deployment & OperationsA cloud computing model that enables the replication and recovery of infrastructure and data in the cloud.
gRPC
Architecture PatternsA high-performance remote procedure call framework developed by Google using Protocol Buffers for serialisation.
Multi-Cloud Strategy
Strategy & EconomicsAn approach that distributes workloads across multiple cloud providers to avoid vendor lock-in, optimise costs, meet regulatory requirements, and improve resilience.