Cloud ComputingService Models

Function as a Service

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)

Cloud Computing

More in Cloud Computing