Back to Architecture Library
Compute & Scaling
Horizontal Scaling
Scaling by adding more instances to your pool of resources.
Misconceptions
- •Scaling out is always better than scaling up
- •Scaling happens instantly
Trade-offs
- •Elasticity vs. Consistency
- •Complexity vs. Raw Power
The Mental Model
Horizontal scaling (scaling out) means adding more machines into your pool of resources. This is the primary way the cloud achieves "infinite" scale and high availability.
Interactive Simulation
"Horizontal scaling adds more parallel nodes to handle traffic, unlike vertical scaling which upgrades a single node."
Architecture Primitives v1.0
Architect's Tip
When scaling for horizontal scaling, always consider the impact on downstream dependencies like databases and message queues.