liveBook · Manning

Vertical scaling

As explained in Machine Learning System Design

A scaling technique that increases the capacity of a single machine by upgrading or replacing its hardware.

Vertical scaling increases a training machine’s capacity by upgrading its hardware or replacing it with a more powerful node. It is the simplest response when datasets or training workloads outgrow current resources, especially when cloud compute makes adding capacity easy. section 10.3

Use vertical scaling when simplicity matters, but check its ceiling before committing:

  • Upgrade RAM, GPUs, or the whole machine to increase available training capacity. section 10.3
  • Prefer it when adding cloud resources can solve the immediate bottleneck without substantial pipeline changes. section 10.3
  • Switch to horizontal scaling when one machine’s maximum performance is insufficient; expect more engineering effort. section 10.3 section 10.7

A practical ceiling

Doubling or quadrupling a machine’s RAM and upgrading its GPU may extend a training pipeline’s capacity. If the workload still does not fit, vertical scaling offers little further room; distributing the load across machines becomes the alternative. section 10.3

Figure 10.4 Vertical scaling vs. horizontal scaling
figure

Compare vertical scaling’s single-machine capacity increases with horizontal scaling’s distributed workload. section 10.3

How Machine Learning System Design covers it

How deep it goes
Defines hardware upgrades, explains simplicity and limits, and stops short of detailed implementation procedures.
Examples
Uses doubled or quadrupled RAM, upgraded GPUs, cloud compute resources, and a single training machine as examples.
What it assumes
Assumes familiarity with training pipelines, datasets, machine resources, and the distinction between vertical and horizontal scaling.
What you can do after
Evaluate whether hardware upgrades can meet training demands before adopting distributed scaling.
How it connects
Contrasts vertical scaling with horizontal scaling and places both within training pipelines.

Also explained in

Compare how 7 books explain vertical scaling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.