Home Solutions Industries Portfolio Pricing Blog Affiliate Contact
Quote
← Back to all posts
Serverless Computing Explained: What It Is, When It Saves Money and When It Doesn't
Cloud Computing

Serverless Computing Explained: What It Is, When It Saves Money and When It Doesn't

BL
BlackCode Admin November 24, 2026 · 2 min read

“Serverless” is a slightly misleading name. There are still servers; you just never see or manage them. You upload a function, define what triggers it, and the provider runs it when needed, scaling from zero to thousands of copies and back again automatically. You pay for the time your code actually runs.

How serverless works

  • Functions (such as AWS Lambda, Google Cloud Functions or Azure Functions) run your code in response to events.
  • Events can be an HTTP request, a file upload, a message on a queue or a schedule.
  • Managed services fill the rest: serverless databases, queues, storage and authentication.

Where serverless shines

  • Spiky or unpredictable traffic, such as a campaign landing page or a ticket sale.
  • Background jobs: resizing images, sending notifications, processing payments callbacks.
  • Scheduled tasks like nightly reports.
  • Webhooks from services like M-Pesa, Stripe or GitHub.
  • Early-stage products where traffic is low and paying for idle servers is wasteful.

Planning a move to the cloud, or a smaller cloud bill?

We design, migrate and run cloud setups for Kenyan businesses. Tell us what you run today.

WhatsApp us+254 731 209 601Book a free demo20 minutes, no costCall us+254 731 209 601

Where it struggles

  • Cold starts: a function that has not run for a while takes longer to respond the first time.
  • Long-running work: functions have time limits.
  • Steady high traffic: at constant load, a regular server is often cheaper.
  • Debugging and local testing are harder than with a normal application.
  • Lock-in: code written around one provider's event formats is harder to move.

The cost question

Serverless is cheapest when usage is low or irregular, because you pay nothing while idle. As traffic grows and becomes steady, the per-request price adds up and a small always-on server can win. A useful habit is to estimate monthly requests, average duration and memory, and compare that with the cost of the smallest server that could handle the same load.

A sensible way to adopt it

You do not have to go all-in. Many of our clients run their main application on containers or a regular server, and use serverless functions for the edges: webhooks, file processing, scheduled jobs and notifications. That captures most of the benefit with little of the risk.

Frequently asked questions

Is serverless good for a full web application?

It can be, especially for APIs with modest traffic. For complex apps with steady load, containers are often simpler and cheaper.

Do we still need DevOps?

Less server management, but you still need deployment pipelines, monitoring, logging and security.

Can serverless handle M-Pesa callbacks?

Yes, it is a very good fit: callbacks are short, event-driven and arrive irregularly.

Planning a move to the cloud, or a smaller cloud bill?

We design, migrate and run cloud setups for Kenyan businesses. Tell us what you run today.

WhatsApp us+254 731 209 601Book a free demo20 minutes, no costCall us+254 731 209 601

0 comments 0 likes

Comments (0)

Be the first to comment on this post.