Scaling means adding capacity to handle more load, and it comes in two forms: vertical scaling (a bigger machine) and horizontal scaling (more machines sharing the work). Vertical scaling is simple but hits a physical ceiling; horizontal scaling is nearly limitless but requires software designed to spread state across machines. Most viral-growth failures happen not because servers ran out of power, but because something stateful — usually the database — couldn't be horizontally scaled the same way.
Quick Answer: Vertical scaling = a bigger single machine, fast to do but capped by hardware limits. Horizontal scaling = more machines working in parallel, unbounded in theory but requiring stateless application design. In a real growth spike, the database tends to become the bottleneck long before the web servers do.
If you've read our technical foundations complete guide, you already know how a request travels from a browser to a server. Scaling is what happens when thousands of those requests arrive at once, and it is one of the most consistently misunderstood technical topics among product managers — largely because "just scale it up" sounds like a single lever when it's actually a chain of them.
What is vertical scaling, and why does it run out of road?
Vertical scaling means giving one machine more resources — more CPU cores, more RAM, faster storage — so it can do more work without changing your architecture. It's the fastest fix available, often a config change or a cloud-console click, which is exactly why it's usually the first thing teams try.
The catch is physics and economics, not software. A single machine has an upper bound on how much CPU and memory it can hold, and the price curve is not linear — doubling a machine's specs frequently costs far more than double, because you're moving into a rarer, less-mass-produced hardware tier.
Vertical scaling is a good first move for:
- A workload that hasn't yet justified re-architecting (early-stage product, low traffic).
- A single-instance database that needs more headroom before you invest in sharding or replication.
- A quick stopgap while the team plans a horizontal redesign.
It is a poor long-term strategy for anything you expect to grow past what one machine can hold — which is precisely the situation a viral launch creates with no warning.
What is horizontal scaling, and what does it actually require?
Horizontal scaling means adding more machines and distributing load across them, typically behind a load balancer, rather than making any single machine bigger. Done well, it has no hard ceiling — you can keep adding servers as demand grows, which is why every major cloud platform is architected around it by default.
The requirement that makes this possible is statelessness. If a server doesn't hold onto session data, uploaded files, or in-memory caches unique to it, any request can be routed to any server and get the same correct answer. This is the property that lets a load balancer treat ten servers as interchangeable, and it's why you'll hear engineers describe a service as "stateless" as almost a badge of honor.
| Dimension | Vertical scaling | Horizontal scaling |
|---|---|---|
| What changes | One machine gets bigger (CPU/RAM/disk) | More machines are added in parallel |
| Ceiling | Hard hardware/cost ceiling | Near-limitless in theory |
| Speed to implement | Fast (resize, restart) | Slower (needs load balancing, statelessness) |
| Failure mode | Single point of failure | Failure of one node degrades, doesn't collapse, capacity |
| Cost curve | Non-linear, steep at the top end | Roughly linear per added unit |
| Best suited to | Early-stage products, single-node databases | Web/app tiers, anything expected to grow unpredictably |
Statelessness is what makes horizontal scaling cheap. If a server stores a user's shopping cart only in its own memory, and the load balancer sends that user's next request to a different server, the cart disappears. The fix — pushing session state into a shared store like Redis, or into the client via a signed token — is a design decision, not a scaling decision, and it has to be made before the growth spike, not during it.
As Martin Kleppmann puts it in Designing Data-Intensive Applications, the hard problems in scalable systems are rarely the stateless compute layer — they're the stateful parts: databases, caches, and anything that has to agree on a single truth across machines.
Why does scale shift the bottleneck instead of just removing it?
Scaling a system doesn't remove constraints — it relocates them. Add enough web servers to handle 10x traffic and the constraint typically moves downstream to whatever those servers all depend on: a shared database, a third-party API, a message queue. This is the bottleneck chain, and understanding it is more useful to a PM than memorizing scaling techniques.
The mental model borrows directly from Eliyahu Goldratt's Theory of Constraints: a system's total throughput is governed by its single most-constrained resource, and improving anything else produces zero improvement in the overall outcome. Goldratt's framing, developed for manufacturing, maps onto software almost without translation — a factory's slowest machine and a product's slowest tier behave identically.
A typical bottleneck chain, in the order it usually gets discovered:
- Web/app servers — usually the first thing scaled, and usually stateless, so horizontal scaling here is comparatively easy.
- Database — the most common real bottleneck; write-heavy workloads especially struggle because most databases can only write to one primary node at a time.
- Third-party APIs / rate limits — a payment processor or an AI-model API often caps requests per second regardless of how much you've scaled internally.
- Cache layer — under sudden load, a cold cache can cause a "thundering herd" of requests hitting the database simultaneously.
- Network/DNS/CDN — rare, but a real ceiling for globally distributed traffic.
Scale is about finding the next bottleneck, not adding raw power. Every fix simply reveals the next-weakest link in the chain — which is why "we scaled the servers and it still fell over" is such a common, confusing experience for teams who assumed capacity was one undifferentiated resource.
For a PM, this reframes the roadmap question. Instead of "do we have enough capacity," the useful question is "which part of this chain will break first, and what's the cost of fixing it before versus after it breaks."
Why does the database tip over before the servers do?
The database is usually the first hard bottleneck because it's stateful in a way the web tier isn't — you can't simply clone it and split traffic evenly, because every clone has to agree on the same data. This makes database scaling fundamentally harder than server scaling, and it's the single most common cause of viral-launch outages.
A viral-launch scenario, walked through:
Imagine a feature that lets users generate and share a personalized result — a quiz score, a recap card, anything shareable. A creator posts it and it gets picked up widely. Within an hour, traffic is 50x normal.
- The load balancer and stateless app servers scale out fine — new instances spin up automatically, absorbing the request volume.
- Every request, though, needs to read the user's data and write a new result row to the same database.
- The database's single primary node has a finite number of connections and finite write throughput. As concurrent users climb, connections queue, then time out.
- Requests that were succeeding in milliseconds start taking seconds, then failing outright — not because the servers are overwhelmed, but because they're all stuck waiting on one shared resource.
This is why teams that scaled their servers ahead of launch are still sometimes surprised: they solved the part of the chain that was easy to solve, and the failure surfaced one link further down. Database scaling techniques exist — read replicas, connection pooling, sharding, caching frequently-read data — but each adds real complexity and typically has to be designed in before the spike, not bolted on during an incident.
Techniques that address database bottlenecks, roughly in order of complexity:
| Technique | What it solves | Trade-off |
|---|---|---|
| Connection pooling | Too many simultaneous connections overwhelming the DB | Doesn't add capacity, just uses it efficiently |
| Read replicas | Read-heavy load competing with writes | Reads can be slightly stale (eventual consistency) |
| Caching (e.g. Redis) | Repeated reads of the same hot data | Cache invalidation adds real complexity |
| Sharding | Write throughput ceiling on one primary node | Significant architectural and query complexity |
| Queueing writes async | Sudden write bursts | User sees a delay, not an instant confirmation |
Amazon's own engineering culture, documented in numerous re:Invent talks on their internal architecture, treats "what breaks first at 10x" as a standing design question for every service — not a one-time launch checklist. That habit of mind, more than any specific technique, is what separates teams that survive a viral spike from teams that don't.
How should PMs plan for scale before it's needed?
PMs can't write the sharding logic, but they can force the bottleneck-chain conversation into the roadmap before a launch, not during an incident. The right question isn't "can we scale" — it's "what's the next constraint, what does fixing it cost now versus under fire, and who owns that decision."
Questions worth asking engineering ahead of any launch expected to spike:
- What's the single point of failure in this feature's request path, and is it stateful?
- If traffic were 20x tomorrow, which component would degrade first — and what does "degrade" look like to a user?
- Is session/user state stored in a way that lets any server handle any request?
- What's the load-testing plan, and does it actually simulate write-heavy concurrent load, not just read traffic?
- What's the fallback experience if the bottleneck is hit — a queue, a graceful error, a waitlist — rather than a hard crash?
Google's Site Reliability Engineering book (Beyer, Jones, Petoff, Murphy) formalizes this as capacity planning tied to a Service Level Objective: you don't plan for "more capacity" in the abstract, you plan for a specific, measurable threshold of acceptable degradation, and you load-test against it deliberately.
This is also where a PM's systems thinking pays off beyond the immediate launch. Load and capacity aren't independent variables — more load can trigger slower responses, which can trigger client-side retries, which adds more load on top of the original spike. Prodinja's Systems Engineering tool is built around modeling exactly this kind of feedback: you sketch a causal-loop diagram of how load, latency, retries, and capacity feed back on each other, which sharpens the conversation about where scale pressure actually lands before you're staring at an incident channel.
Understanding this chain also connects to how you evaluate any dependency your product calls — see our guide on what an API is for product managers and the companion piece on HTTP methods and status codes, since a 429 Too Many Requests from a vendor is often the first visible symptom of hitting someone else's bottleneck chain, not your own.
Key Takeaways
- Vertical scaling (a bigger machine) is fast but hits a hard, non-linearly-priced ceiling; it's a good stopgap, not a growth strategy.
- Horizontal scaling (more machines) is nearly limitless but depends on stateless application design so any server can handle any request.
- Scale relocates bottlenecks rather than eliminating them — Goldratt's Theory of Constraints applies directly: fixing anything but the current constraint doesn't improve overall throughput.
- In a viral-launch scenario, stateless web servers usually scale fine while the database, which must stay consistent across any clone, becomes the real point of failure.
- Database-specific techniques — connection pooling, read replicas, caching, sharding — each fix a different link in the chain and each carries its own trade-off; there's no single fix.
- PMs add value by forcing the "what breaks first at 10x" conversation into planning, tied to a measurable degradation threshold, before launch — not by writing the scaling code themselves.
- Load and capacity are feedback loops, not isolated numbers — which is exactly what a causal-loop model, like the one in Prodinja's Systems Engineering tool, is designed to make visible.
Frequently Asked Questions
What is the difference between horizontal and vertical scaling?
Vertical scaling upgrades one machine's resources (CPU, RAM); horizontal scaling adds more machines and spreads the load across them. Vertical is simpler but capped by hardware limits; horizontal is more complex to set up but has no practical ceiling once your application is stateless.
Why does the database become the bottleneck before the servers?
Web servers are usually stateless, so cloning them is straightforward. A database must keep every copy consistent with the same underlying data, which makes it far harder to horizontally scale — so it typically hits its connection and write-throughput limits first under sudden load.
Is horizontal scaling always better than vertical scaling?
Not always — vertical scaling is often the right first move for an early-stage product or a workload that hasn't justified the added complexity of distributing state. Horizontal scaling earns its cost once growth is real, sustained, or unpredictable enough that one machine's ceiling becomes the actual risk.
How much traffic can a typical web app handle before it needs to scale?
There's no universal number — it depends entirely on the workload, the database design, and the infrastructure. This is why Google's SRE practice ties capacity planning to a measurable Service Level Objective and load test, rather than a rule-of-thumb traffic figure.
What does "stateless" mean in plain terms for a product manager?
A stateless server doesn't remember anything about a specific user between requests — session data, cart contents, and uploads live in a shared store instead of that one machine's memory. That's what lets a load balancer send any user's request to any server interchangeably.