Serverless Computing
Serverless computing is a cloud model in which the provider runs and scales the servers automatically, so teams deploy functions or containers that execute on demand and are billed for actual usage rather than reserved capacity.
Serverless computing is a cloud execution model in which the provider provisions, scales and maintains the servers, and the customer deploys code or containers without managing the underlying machines. The most common form is function as a service (FaaS), where short-lived functions run in response to events such as HTTP requests, file uploads or queue messages. Billing is typically based on the number of invocations and the compute time and memory consumed, and idle capacity can scale to zero.
Serverless is used for APIs, event-driven data processing, scheduled tasks and integration logic that connects managed cloud services. Widely used function platforms include AWS Lambda and Azure Functions, while services such as Google Cloud Run apply the same model to containers. Spiky or unpredictable workloads benefit most, because capacity follows demand without pre-provisioned servers.
Limits include cold starts, the extra latency when a new execution environment is initialised, as well as maximum execution durations, statelessness between invocations and tighter coupling to a provider's event sources and APIs. Sustained, high-throughput workloads can cost more than reserved instances or containers, so teams compare cost per request with always-on alternatives. Observability relies on distributed tracing because a single transaction may pass through many functions.
Key points
- Function as a service (FaaS) runs short-lived code in response to events such as HTTP calls or queue messages
- Capacity scales automatically with demand and can scale to zero when idle
- Cold starts add latency when a new execution environment has to be initialised
- Sustained heavy workloads may be cheaper on reserved instances or containers
Where AiVibe comes in
AiVibe Software Services delivers cloud solutions on AWS, Microsoft Azure, Google Cloud or on-premise, together with cloud security, legacy modernisation, data analytics and AI and machine learning services.
Related terms
- Auto ScalingCloud & AI Infrastructure
- API GatewayCloud & AI Infrastructure
- Message QueueCloud & AI Infrastructure
- Event StreamingCloud & AI Infrastructure
- Platform as a Service (PaaS)Cloud & AI Infrastructure
- ObservabilityCloud & AI Infrastructure