Pattern 27 / SCALE

Vertical Scaling

Use this when getting more capacity quickly from a single-node component.

Pressure
Getting more capacity quickly from a single-node component
Mechanism
Upgrade cpu, memory, disk, or network resources of the machine running the workload
Toll
Hard physical ceiling, larger blast radius, and diminishing returns
Architecture plate27
Diagram for Vertical Scaling
Executive brief

Vertical Scaling fits when getting more capacity quickly from a single-node component. Mechanism: upgrade CPU, memory, disk, or network resources of the machine running the workload. Use it for databases, single-node services, quick fixes, and workloads that do not parallelize easily. The toll: hard physical ceiling, larger blast radius, and diminishing returns.

Use when

Databases, single-node services, quick fixes, and workloads that do not parallelize easily.

Example

Moving postgresql to a larger instance before sharding.

Review framing

Describe the pressure first, then the mechanism, then the cost. That keeps the design grounded.

Same pressure family

Scaling Patterns

26Horizontal Scaling28Load Balancing29Auto-Scaling30Database Connection Pooling
โ† 2628 โ†’