Scalability as a building block of sustainable systems
A key aspect of sustainable software architecture is the ability to adapt to changing loads.
While vertical scaling adds resources to a single machine, horizontal scaling distributes load across multiple instances. Modern cloud platforms also enable auto-scaling: resources are provisioned automatically as utilization rises, then scaled back down again.
This benefits companies in several ways at once. Infrastructure costs fall, unused resources are avoided, and reliability improves at the same time, since load spikes can be absorbed more effectively.
A typical example is an online shop. Outside of major sales events, three instances might be enough. During Black Friday, the application automatically scales up to ten or more instances, then scales back down to its normal size afterward. Instead of permanently maintaining maximum capacity, resources are used only when they're actually needed.

