Serverless Computing

Concepts and terms for serverless architectures.

  • JSON4,011 B
  • YAML2,943 B · −27%
  • TOON2,517 B · −37%

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 it when

  • You are deciding whether a workload fits a serverless model.
  • You need the vocabulary for reading a serverless platform's documentation.

Watch out for

  • 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.

The data

ConceptDescription
Function as a ServiceEvent-driven functions executed in ephemeral containers.
Event-DrivenFunctions triggered by events such as HTTP requests or queue messages.
Cold StartLatency from initializing a function runtime after idle time.
StatelessFunctions do not retain state between invocations.
API GatewayManaged service routing HTTP requests to functions.
Pay-Per-UseBilling based on actual execution time and request count.
Provisioned ConcurrencyKeeping a set number of function instances warm to avoid cold-start latency, at a fixed cost.
Function TimeoutThe maximum time one invocation may run before the platform stops it.
IdempotencyDesigning handlers so repeated delivery of the same event has the same effect as one, since many triggers are at-least-once.
Scale to ZeroRunning no instances, and paying nothing, when there is no traffic.
Edge FunctionsFunctions executed in many locations close to users, typically with tighter runtime limits.
Vendor Lock-InReliance on proprietary triggers, SDKs and managed services that makes moving to another provider costly.
Container-Based FunctionsServerless platforms that run a container image on demand and scale it automatically, for example Google Cloud Run.

Fields

The shape of this dataset, read from the data itself: every column, its type and a real value. Agents can use this to plan a query without fetching the whole document.

SectionFieldTypeExample
dataconceptstringFunction as a Service
datadescriptionstringEvent-driven functions executed in ephemeral co…

Fetch the same bytes

The static files contain the same reference rows as the API, with no API rate limit. Live metadata, such as view counts, may differ. Use the API for content negotiation; use the static files for a cacheable snapshot.

curl "https://yjtoon.com/api/dataset/serverless-computing?format=toon"
const res = await fetch(
  "https://yjtoon.com/static-data/dataset/serverless-computing.toon"
);
const toon = await res.text();

Rate limit: 120 requests per minute per IP, no key and no signup. API reference →

Topics

  • cloud
  • serverless
  • functions

Search the library

Search by a topic, title, or keyword.

Start with a collection

Browse all 205 datasets