api: YAML JSON TOON Database version: 1.0.0 format: toon dataset: id: 2889 slug: serverless-computing title: Serverless Computing description: Concepts and terms for serverless architectures. summary: "The core ideas of serverless computing: functions as a service, event-driven execution, cold starts, statelessness, API gateways and pay-per-use billing, plus the operational concepts that matter in practice: concurrency, timeouts, idempotency, scale to zero and lock-in." use_when[2]: You are deciding whether a workload fits a serverless model.,You need the vocabulary for reading a serverless platform's documentation. caveats[2]: "Serverless suits bursty, event-driven work; steady high-throughput workloads can be cheaper on long-running servers.","Limits on duration, memory and concurrency are provider-specific and change over time." related[3]: serverless-patterns,cloud-service-models,container-orchestration entry_count: 13 fields[2]{section,field,type,example}: data,concept,string,Function as a Service data,description,string,Event-driven functions executed in ephemeral co… category: Cloud Computing category_slug: cloud-computing tags: "cloud,serverless,functions" view_count: 40 created_at: 1793403093 updated_at: 1793403093 data[13]{concept,description}: Function as a Service,Event-driven functions executed in ephemeral containers. Event-Driven,Functions triggered by events such as HTTP requests or queue messages. Cold Start,Latency from initializing a function runtime after idle time. Stateless,Functions do not retain state between invocations. API Gateway,Managed service routing HTTP requests to functions. Pay-Per-Use,Billing based on actual execution time and request count. Provisioned Concurrency,"Keeping a set number of function instances warm to avoid cold-start latency, at a fixed cost." Function Timeout,The maximum time one invocation may run before the platform stops it. Idempotency,"Designing handlers so repeated delivery of the same event has the same effect as one, since many triggers are at-least-once." Scale to Zero,"Running no instances, and paying nothing, when there is no traffic." Edge Functions,"Functions executed in many locations close to users, typically with tighter runtime limits." Vendor Lock-In,"Reliance on proprietary triggers, SDKs and managed services that makes moving to another provider costly." Container-Based Functions,"Serverless platforms that run a container image on demand and scale it automatically, for example Google Cloud Run."