FUNDAMENTALS · 7 MIN
Vertical vs Horizontal Scaling
Vertical scaling buys a bigger machine; horizontal scaling adds more machines.
ARCH explains
- Vertical is simple but has a ceiling and a single point of failure.
- Horizontal needs stateless services and a load balancer, but grows almost without limit.
- Most large systems combine both.
Real world: One bigger kitchen vs. opening more restaurant branches.
Code
Client → Load Balancer → [App 1, App 2, App 3] → DatabaseCheckpoint quiz
Which approach removes the single-machine ceiling?