liveBook · Manning

Vertical scaling

As explained in Acing the Frontend Interview

Vertical scaling increases the compute, memory, storage, or other resources of a single machine.

Vertical scaling, or scaling up, increases CPU, memory, storage, or other resources on a single machine to handle greater load. section 6.0 section 6.3

Evaluate vertical scaling through these practical trade-offs:

  • Implementation and management are generally simpler than distributing work across multiple machines. section 6.3
  • Physical hardware limits cap growth, and upgrades may cause downtime. section 6.3
  • Reliance on one machine creates a single point of failure. section 6.3
  • Prefer it for simpler monolithic systems with limited growth or when refactoring is not feasible. section 6.3

Interview scenario

When asked to distinguish vertical from horizontal scaling, explain that vertical scaling might upgrade one server from 2 CPUs and 4 GB of RAM to 8 CPUs and 32 GB of RAM. Then contrast it with adding machines to share traffic, and discuss growth, reliability, downtime, and operational complexity. section 6.3

How Acing the Frontend Interview covers it

How deep it goes
Defines resource increases, trade-offs, and selection guidance while emphasizing comparison rather than implementation details.
Examples
Uses a server upgrade from 2 CPUs and 4 GB RAM to 8 CPUs and 32 GB RAM.
What it assumes
Assumes familiarity with system-level architecture and introduces the distinction between scaling strategies directly.
What you can do after
Evaluate scaling choices by weighing simplicity, growth limits, downtime, fault tolerance, and business constraints.
How it connects
Contrasts vertical scaling with horizontal scaling and connects both to load balancing, autoscaling, monoliths, and distributed systems.

Also explained in

Compare how 10 books explain vertical scaling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the Frontend Interview. The section links point to the parts of the book it draws on.