← Back to Blog

Horizontal vs Vertical scale

Horizontal scaling can be understood as scaling out by duplicating, while vertical scaling involves upgrading the resources of the individual instance.

Introduction

Horizontal Scale

Horizontal scaling, also known as “scaling out,” involves expanding a system horizontally by increasing the number of nodes and machines in the resource pool. This allows a piece of logic to be processed concurrently across multiple devices by breaking down processing tasks into smaller parts for other machines to handle. Put simply, horizontal scaling is like hiring additional people to handle a group of problems or additional customers.

Advantages:

  • Easy to scale by adding more hardware resources
  • High flexibility
  • Lesser downtime

Disadvantages:

  • Higher cost
  • Maintenance can be more challenging

Vertical Scale

Vertical scaling, also known as “scaling up” is the process of increasing the power of the current system such as CPU, RAM to meet current demands. Simply put, vertical scaling is like enhancing the skills of existing employees to handle a group of problems or additional customers.

Advantages:

  • Cost-effective
  • Easy maintenance

Disadvantages:

  • More downtime possibilities
  • Lower flexibility
  • Single point of failure

References

Related posts

Software Engineering
Internet and Web Version
Software Engineering
Coupling vs Cohesion
Software Engineering
Identify Monoliths, microservices and serverless
← Back to Blog