Skip to main content

Technical Decisions

Scalability

Scalability is handling growth without falling over. It is real, and designing for volumes you do not have is one of the most reliable ways to overspend.

Definition

Scalability is a system's ability to handle more, more users, more data, more transactions, without becoming slow or falling over.

What It Actually Means

Two ways to get it. Add capacity to the machine you have, which is simple and has a ceiling. Or add more machines and share the work between them, which has no practical ceiling and requires the system to be built for it.

The Honest Position For Most Businesses

You almost certainly do not have a scaling problem, and designing for one is expensive.

This is worth stating because the word carries authority and is used to justify architecture that costs several times more than the situation requires. Distributed systems, message queues, multiple services and elaborate caching are all legitimate answers to problems most businesses do not have.

A single well-configured server running a well-written application handles a large amount of ordinary business traffic, far more than most firms will ever generate. The systems that fall over usually do so because of one unoptimised database query rather than their architecture.

The rule worth applying is to build for roughly ten times current volume, not a thousand. Ten times is achievable without contortion and covers realistic growth. Beyond that you are paying now for a problem you may never have, in a form you cannot yet predict.

What Actually Breaks First

When systems do struggle, the cause is nearly always the same and it is rarely the thing people prepared for.

The database. Specifically, queries that were fine with a thousand records and are not with a million, or a missing index. This is the overwhelming majority of real performance problems, and it is cheap to fix once identified.

One slow external call. A third-party service the system waits for on every request. When they are slow, you are slow.

Doing work repeatedly that could be done once and remembered, which is what caching addresses. Frequently the single highest-return change available.

Uploads and reports run in the request rather than in the background, so one large operation blocks everything.

Each of those is found by measuring, and none of them calls for a redesign.

What To Ask

  • What volume are we designing for, and where did that number come from? If it is not grounded in anything, it is being guessed upward.
  • What is the slowest part now, measured? Fix what is measurably slow. Do not redesign for what might be.
  • What happens at ten times current traffic? That is a reasonable question, where a thousand times is not.
  • How would we know it was struggling? Monitoring beats prediction, because it tells you about the real bottleneck rather than the imagined one.

When It Genuinely Matters Early

Some situations do justify designing for scale up front: a spiky load such as ticket releases, a business model where success means very large volumes quickly, or something with a hard availability requirement.

If that is you, it is worth the architecture. If it is not, the money is better spent on the thing that limits the business, which is usually getting more customers rather than being ready for ones you do not have. Microservices in particular are a scaling answer with a substantial ongoing cost, and adopting them early buys that cost long before there is anything to scale.

More terms are in the glossary.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

What happens next

  1. 1 We reply A real person reads your answers and gets back to you, usually within a few hours.
  2. 2 Questions or a short call If anything isn't clear, we ask by email or book a short call. Before any call we audit your website and make the quick fixes it finds, free.
  3. 3 Your fixed quote A clear, fixed price in writing, within 48 hours of any call. There is no obligation to go ahead.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.