Skip to content

Instantly share code, notes, and snippets.

@hmpandey
Created September 10, 2023 18:38
Show Gist options
  • Save hmpandey/ce934f2da12f6321650e9053e4c4f326 to your computer and use it in GitHub Desktop.
Save hmpandey/ce934f2da12f6321650e9053e4c4f326 to your computer and use it in GitHub Desktop.
Horizontal Scaling Vs Vertical Scaling
+=========================================+================================+======================================+
| Criteria | Horizontal Scaling | Vertical Scaling |
+=========================================+================================+======================================+
| Definition | adding more machines | increasing the capacity of a machine |
+-----------------------------------------+--------------------------------+--------------------------------------+
| Other Name | scale out or scale in | scale up or scale down |
+-----------------------------------------+--------------------------------+--------------------------------------+
| Availability | The system is highly available | single point of failure |
+-----------------------------------------+--------------------------------+--------------------------------------+
| Traffic and Service Management | load balancer required | No additional effort required |
+-----------------------------------------+--------------------------------+--------------------------------------+
| Privacy, Security, and Data Handling | better | - |
+-----------------------------------------+--------------------------------+--------------------------------------+
| Consistency and Transactional Behaviour | - | system is consistent |
+-----------------------------------------+--------------------------------+--------------------------------------+
| Hardware Limit | no limit | No additional effort required |
+-----------------------------------------+--------------------------------+--------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment