Horizontal vs Vertical Scaling in Cloud

Scaling in Cloud

Scaling is a technique that modifies any system's size by extending or contracting it to meet the requirement. The scaling procedure can be accomplished by adding resources to the current system or by integrating a new one.

There are four main pillars of cloud computing: Scalability, Elasticity, Fault Tolerance, and High Availability. Cloud scalability is one of the essential pillars of Cloud computing. It is the capacity to change system resources in response to shifting demands.

Types of Scalability

We have two types of scalability.

Horizontal Scalability

Horizontal scalability, also known as scaling out, involves adding more resources (e.g., servers, storage, networking components) to a system to handle increasing workloads. This can be accomplished by adding more instances of the same resource type to a system, either by adding more virtual or physical machines. Horizontal scalability is generally more cost-effective and more accessible to implement than vertical scalability. Yet, it is a bit complicated to maintain a lot of instances when compared to maintaining the same example in vertical scaling.

Horizontal Scalibility

Vertical Scalability

Vertical scalability, also known as scaling up, involves adding more processing power or resources to a single instance of a system, such as adding more CPU, RAM, or storage to a virtual machine. This type of scalability is proper when a system has reached the limits of its processing power, memory capacity, or other resource constraints. Vertical scalability is generally more expensive and may need downtime to add resources to a system.

Vertical Scalibility 

Both horizontal and vertical scalability have their own advantages and disadvantages, and which approach is used depends on a given system's specific needs and constraints.

Next Recommended Reading Cloud Service Attributes