Horizontal — add more machines. Vertical — add more power.
Horizontal Scaling:
Horizontal:
[Server 1] [Server 2] [Server 3]
(Multiple servers)
(Distributed load)
Vertical Scaling:
Vertical:
[Server: 4 CPU → 8 CPU → 16 CPU]
(More powerful)
(Single server)
Key differences: