Design

Function as a service (FaaS)

Function as a Service is the serverless compute model where the deployment unit is a single function with a defined entry point, the provider invokes it in response to events (HTTP request, queue message, scheduled timer) and bills per millisecond of execution. Examples: AWS Lambda, Google Cloud Functions, Azure Functions, Cloudflare Workers.

Updated

FaaS is the purest serverless model: no servers to manage, automatic scaling to zero, pay only for actual execution time. The fit is best for short, stateless, event-driven work. The constraints are real: execution time limits (15 minutes on Lambda), cold-start penalty for infrequent invocations, no persistent local state, and a per-invocation overhead that makes high-frequency tight-loop work uneconomic. Modern FaaS variants reduce the constraints, provisioned concurrency eliminates cold starts at a cost; SnapStart pre-snapshots the JVM; Cloudflare Workers run on V8 isolates with sub-ms cold starts. The platform choice matters more than the FaaS-vs-not question for cost and latency.

See the term at work

Stride keeps stories, architecture decisions, tests and delivery data in one workspace, where the terms in this glossary are things you can open.