Cloud, security & IT

What is serverless computing?

Serverless computing runs code in response to events, such as an API request, a file upload or a schedule, on infrastructure managed entirely by the provider, and charges only for the time the code actually runs.

Where it fits

APIs with variable traffic, webhooks, scheduled jobs, image processing and back ends for static sites. Examples include AWS Lambda, Google Cloud Functions, Cloudflare Workers and Vercel functions.

Trade-offs

Cold starts can add delay, long-running or stateful work fits poorly, debugging spans many small functions, and costs need watching at high volume.

Questions, answered

There are servers; you just do not manage them.

For low or spiky traffic, usually. For constant heavy load, a server can be cheaper.

By the Stegnor team · Updated