Interview's MateSystem Design
Interview's Mate

System Design

Architecture & trade-offs

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
All topics/Scalability
FUNDAMENTALS & NETWORKING · SUBTOPIC

Vertical Scaling (Scale Up)

Increase capacity by upgrading a single machine with more CPU, RAM, and faster NVMe storage.

BeginnerPart of Scalability
Practice in AI HLD
Subtopics in Scalability (4)
OverviewVertical ScalingHorizontal ScalingStateless TiersAuto-Scaling & R/W Split

In plain words

Instead of hiring more delivery drivers, you replace your small scooter with a giant cargo truck. Everything stays in one place, so coordination is simple - until the truck is as big as the road allows.

Think of it like…

Upgrading your laptop from 8 GB RAM to 64 GB RAM: every program suddenly runs faster without rewriting any code.

Loading interactive diagram
Loading interactive exercise

Theory & how it works

Why teams start with vertical scaling

Vertical scaling is underrated in early startups. One modern beefy PostgreSQL box (64 vCPUs, 256 GB RAM, fast NVMe) can easily handle tens of thousands of queries per second with zero distributed-systems bugs.

Because everything lives in one machine, there are no network partitions, no replication lag, and ACID transactions work out of the box.

Key takeaway: Scale up first while traffic fits on one machine; don’t over-engineer distributed sharding prematurely.

Where vertical scaling stops working

First, cost grows super-linearly: a 128-core cloud instance costs far more than 16× an 8-core instance. Second, there is a hard physical limit to how much RAM/CPU fits on one motherboard.

Third, upgrading hardware often requires a reboot (downtime), and if that single machine crashes, the entire service goes offline.

Key points & practical guide

Summary checklist

  • Zero application code changes and no distributed-consistency headaches
  • Hard upper hardware ceiling and expensive high-end instances
  • Single point of failure (SPOF) unless paired with at least a standby replica

When to use it

  • Early-stage products and MVPs
  • Primary relational databases before sharding is truly needed
  • Monoliths with moderate traffic

Watch out for

  • Running without a standby replica in another availability zone
  • Assuming hardware upgrades can keep pace with viral 100× growth

Quick check

Loading quiz
Parent topic
Scalability
Next subtopic
Horizontal Scaling (Scale Out)