Vertical vs Horizontal Scaling

Nutshell

  • Horizontal scaling means that we scale by adding more machines into pool of resources
  • Vertical scaling means that we scale by adding more power (CPU, RAM) to an existing machine.

High level difference

Real world implementation

Take the benfits of both Horizontal and Vertical scaling

  • Vertical scaling : Inter process communication and data consistency
  • Horizontal scaling : Scalability and Resilient (no single point of failure)

Ideal way - First have the veritical scaling (optimal level) and scale horizontally.

Diagrametic representation

Credits

Gaurav Sen - Please watch video in Youtube