PRECIOUSKY Search RSS
Web & Cloud

Serverless Explained: You Still Have Servers (Sorry)

Serverless doesn't mean no servers — it means you don't manage them. Here's what serverless really is, how it bills you, and where it shines or stings.

A light switch turning a machine on only when needed on warm paper
Serverless runs your code on demand, then puts it back to sleep.

"Serverless" is one of tech's most misleading names. There are absolutely still servers. What's gone is your need to think about them. Here's what it actually means and when it's the right call.

The real definition

With traditional hosting, you rent a server (or a virtual one), keep it running 24/7, and maintain it — patching, scaling, paying whether it's busy or idle. Serverless flips this: you just upload your code as functions, and the cloud provider runs them on demand, automatically scaling up and down, with no server for you to manage.

A taxi meter running only while the ride is moving
You pay only while your code is actually running.

The billing is the magic

This is the headline benefit: you pay only when your code runs, often down to the millisecond. An idle traditional server still bills you; an idle serverless function costs nothing. For spiky or low-traffic workloads, that can be dramatically cheaper.

Traditional servers are like renting a car for the month; serverless is paying only for the minutes you actually drive.

Where serverless shines

  • Spiky or unpredictable traffic. It scales to zero when quiet and up automatically when busy.
  • Event-driven tasks. "When a file is uploaded, resize it." "When a form is submitted, send an email."
  • Small APIs and glue code you don't want to babysit a server for.
  • Fast starts for small teams — no infrastructure to set up.

Where it stings

  • Cold starts. A function that hasn't run lately takes a moment to wake up, adding latency to that first call.
  • Constant heavy traffic. If something runs non-stop, a regular server can be cheaper than per-invocation billing.
  • Long-running jobs. Functions have time limits; big batch work may not fit.
  • Vendor lock-in. Each provider's serverless flavour is a little different.

The takeaway

Serverless is brilliant for event-driven, spiky, or small workloads where you'd rather not run a server. For steady, heavy traffic, a traditional or cloud server may still win. Increasingly, serverless runs at the edge too, executing your code close to users for speed.

Key takeaways

  • Serverless still uses servers — the provider just manages them for you.
  • You upload functions and pay only while they run.
  • Great for spiky, event-driven, and small workloads.
  • Watch for cold starts, time limits, and lock-in on heavy/steady loads.

Frequently asked questions

If it's called serverless, where do the servers go?

They're still there — owned and managed by the cloud provider. 'Serverless' means you never see, provision, or maintain them; you just upload code and the provider runs it on demand.

What is a cold start?

When your function hasn't run recently, the provider has to spin it up fresh, adding a short delay to that first request. Frequently-used functions stay 'warm' and respond instantly.