Skip to content
IT glossary
DevOps and cloudUpdated December 3, 2026

Serverless

Serverless is a cloud model where the provider runs the servers and adjusts capacity as demand changes. You deploy your application and configure its services without maintaining the machines it runs on.

Also known as: бессерверные вычисления

What does “serverless” mean?

Imagine a webhook endpoint that receives thousands of requests during a sale and almost none overnight. On a virtual machine, you decide how much capacity to keep running and how to add more. With serverless compute, the platform manages the machines and scales execution capacity for you, within its limits. You still own the application: you deploy code, set permissions, and decide how to handle failures.

Functions as a Service (FaaS), such as AWS Lambda, are one form of serverless. A serverless container service can run an entire web application rather than a single handler. Some databases also offer serverless capacity. A service being managed is not enough on its own: a managed database can still require you to size and pay for an always-running instance.

What happens when a request arrives?

A function can be triggered by an HTTP request, a queue message, or a schedule. The platform can reuse an existing execution environment or start a new one. Starting the environment and initializing the application adds latency, known as a cold start. Reuse can make later calls faster, but it is not guaranteed, so keep durable state in a database or other external store, not in the function's memory.

Many serverless compute services can scale to zero. With usage-based function pricing, the bill often depends on the number of calls, how long they run, and the resources allocated. That does not mean the whole system costs nothing while idle: storage, logs, and pre-initialized capacity can still incur charges.

Example: generating thumbnails

An image arrives in object storage. An upload notification goes to a queue, which triggers a function to generate a thumbnail. The queue buffers bursts, and a concurrency limit keeps too many workers from hitting storage at once. If the queue delivers an event twice, both attempts should write to the same output key for that version of the image rather than create two separate thumbnails.

When is it a good fit?

Serverless is a natural fit for intermittent work such as file processing, scheduled jobs, and webhook handling. For steady, high-volume work, compare the total bill against an always-on service. Check runtime and concurrency limits before choosing a platform, and measure tail latency rather than assuming cold starts will be rare enough not to matter.

What interviewers look for

In a design interview, explain what happens when traffic spikes or a dependency slows down. For a queue-backed worker, talk through concurrency limits, retries, and how you would spot a growing backlog. For example, an increase in the age of the oldest queued message can show that users are waiting longer for results even when the function's error rate is low.