liveBook · Manning

Vertical scaling

As explained in Grokking Software Architecture

Increasing the capacity of a single system instance by adding resources such as processing power, memory, or storage.

Vertical scaling makes one system instance more powerful. Like giving a busy coffee-shop barista a larger espresso machine, it boosts the capacity of the existing worker rather than adding workers. section 10.5.2

Upgrade the server

A cloud operator might replace a $20-per-month virtual machine with 2 GB of RAM with a $400-per-month machine offering 64 GB of RAM and a 16-core CPU. The upgrade usually requires no application-code changes. section 10.5.2

The tradeoff is straightforward:

  • It is easy to do, but even a powerful server has a physical ceiling. section 10.5.2
  • It leaves the application dependent on one server: if that machine fails, the whole application goes offline. section 10.5.2
  • Choose a scaling approach to meet a concrete business need; do not pay to prepare for growth the business has not justified. section 10.5.1
Figure 10.7 Scaling Up (Vertical) makes a single worker more powerful, but Scaling Out (Horizontal) offers a practically infinite, resilient scale by adding more identical workers.

Compare making one worker more powerful with adding identical workers to spread the load. section 10.5.1

How Grokking Software Architecture covers it

How deep it goes
Defines the server upgrade and explains its ease, physical ceiling, and failure risk, without detailing implementation steps.
Examples
Uses a coffee-shop barista analogy and a cloud virtual-machine upgrade with specific monthly costs and resources.
What you can do after
Operate a virtual machine by upgrading its resources, usually without changing application code.
How it connects
Contrasts vertical scaling with horizontal scaling and ties scaling choices to business requirements.

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 Grokking Software Architecture. The section links point to the parts of the book it draws on.