Scalingscale upscaling up
Vertical scaling
Definition
Vertical scaling replaces or resizes a server with a larger one so that one instance can handle more load.
In practice
It needs no code changes and keeps the architecture simple, which makes it the right first step for databases and other stateful components. Modern hardware goes surprisingly far: a single large database server can handle a lot of traffic.
It has a ceiling, cost grows faster than capacity at the high end, and resizing often means a restart. One big machine is still one failure domain, so vertical scaling does not improve availability on its own.
Example
Moving a PostgreSQL primary from 8 vCPUs and 32 GB of RAM to 32 vCPUs and 128 GB lets the working set fit in memory and cuts query latency without any application change.