Horizontal and Vertical Scaling In React JS

Horizontal Scaling

  1. Horizontal scaling is also known as scaling out.
  2. Horizontal scaling refers to the process of adding more machines to handle the huge incoming traffic.
  3. Horizontal scaling helps in parallel processing.
  4. It is like if we want to finish a work early, then we have to increase the manpower.

Vertical Scaling

  1. Vertical scaling is also known as scaling up.
  2. Vertical scaling means increasing the power of a machine in the form of RAM, Memory, Processort or Bandwidth.
  3. Vertical scaling is used to perform resource intensive tasks.
  4. Vertical scaling is like hiring a more skilled employee to complete the work.

Difference between Horizontal and Vertical Scaling

Horizontal ScalingVertical Scaling
1. It is also known as scaling out.1. It is also known as scaling up.
2. Here we add more machines to our resource pool.1. Here we upgrade our old machine with more RAM, Powerful Processor etc.
3. No single point of failure.3. Single point of failure.
4. It is more costlier to maintain a no. of resources.4. It is cheaper than horizontal scaling, as here we only have to maintain a single system.
5. Difficult to implement.5. Easier to implement.

Leave a Reply

Your email address will not be published. Required fields are marked *