Vertical Vs Horizontal Scaling: Key Differences You Should Know
ByteByteGo
4 min, 34 sec
An in-depth look at the concepts of vertical and horizontal scaling for startups experiencing growth.
Summary
- Vertical scaling involves upgrading existing servers with more CPUs, RAM, storage, or bandwidth.
- Horizontal scaling, or scaling out, involves adding more servers and distributing the workload.
- Each scaling strategy has its own advantages and disadvantages that must be considered in the context of budget, workload, and performance requirements.
- The choice between scaling up or out depends on various factors and may evolve as the business grows.
Chapter 1
![The video introduces the topic of scaling for startups with surging server demands.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk0ODUsInB1ciI6ImJsb2JfaWQifX0=--4a12299a4b5a29b3b9e9525be671753a799b2d51/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_8.jpg)
The video introduces the topic of scaling for startups with surging server demands.
- Startups with growing infrastructure needs must decide whether to scale up or scale out.
- Vertical and horizontal scaling are examined to understand their advantages and disadvantages.
![The video introduces the topic of scaling for startups with surging server demands.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk0ODUsInB1ciI6ImJsb2JfaWQifX0=--4a12299a4b5a29b3b9e9525be671753a799b2d51/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_8.jpg)
Chapter 2
![Vertical scaling is detailed with examples and its pros and cons are discussed.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk0OTYsInB1ciI6ImJsb2JfaWQifX0=--5ebe806ca6ad2161431462c63a8263f3e4df3bc1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_51.jpg)
Vertical scaling is detailed with examples and its pros and cons are discussed.
- Vertical scaling means adding power to an existing server, such as upgrading to a 32-core instance with better specs.
- Advantages include simplicity, short-term cost-effectiveness, and easier maintenance.
- Disadvantages comprise a single point of failure, limited scaling potential, and high costs at large scales.
![Vertical scaling is detailed with examples and its pros and cons are discussed.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk0OTYsInB1ciI6ImJsb2JfaWQifX0=--5ebe806ca6ad2161431462c63a8263f3e4df3bc1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_51.jpg)
Chapter 3
![Horizontal scaling is detailed with examples, discussing its advantages and challenges.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk1MDMsInB1ciI6ImJsb2JfaWQifX0=--96477d1d003df1ae9d7d5932687fd997673965b5/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_137.jpg)
Horizontal scaling is detailed with examples, discussing its advantages and challenges.
- Horizontal scaling involves adding more servers and distributing the workload, also known as scaling out.
- Advantages include high availability, predictable growth, improved performance, and lower costs over time.
- Disadvantages include complexity of implementation, higher upfront costs, and the need for robust load-balancing.
![Horizontal scaling is detailed with examples, discussing its advantages and challenges.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk1MDMsInB1ciI6ImJsb2JfaWQifX0=--96477d1d003df1ae9d7d5932687fd997673965b5/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_137.jpg)
Chapter 4
![Factors to consider when choosing between vertical and horizontal scaling are outlined.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk1MTEsInB1ciI6ImJsb2JfaWQifX0=--c9b732e020c305c1df9e1d2821c583a91e07142c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_221.jpg)
Factors to consider when choosing between vertical and horizontal scaling are outlined.
- Budget considerations: vertical scaling is cheaper short-term, horizontal scaling more cost-effective long-term.
- Workload patterns and performance requirements may dictate the need for horizontal scaling.
- Additional development and operational costs for horizontal scaling mechanisms must be factored in.
![Factors to consider when choosing between vertical and horizontal scaling are outlined.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk1MTEsInB1ciI6ImJsb2JfaWQifX0=--c9b732e020c305c1df9e1d2821c583a91e07142c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_221.jpg)
Chapter 5
![The video concludes with a reminder to adapt scaling strategies over time and offers additional resources.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk1MTcsInB1ciI6ImJsb2JfaWQifX0=--05a207a598e66149eb16b2a9761ae81b4c57cb61/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_259.jpg)
The video concludes with a reminder to adapt scaling strategies over time and offers additional resources.
- Scaling strategies should evolve with the business and be adaptable.
- The System Design newsletter is recommended for more insights into large-scale system design.
![The video concludes with a reminder to adapt scaling strategies over time and offers additional resources.](https://www.videogist.co/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6Njk1MTcsInB1ciI6ImJsb2JfaWQifX0=--05a207a598e66149eb16b2a9761ae81b4c57cb61/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls3MjAsbnVsbF19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c9426325207613fdd890ee7713353fad711030c7/4080_259.jpg)
More ByteByteGo summaries
![DevOps vs SRE vs Platform Engineering | Clear Big Misconceptions](https://www.videogist.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTAwNTAsInB1ciI6ImJsb2JfaWQifX0=--1d05acc80b29601d36b9280c23e0c477aa37c3e7/hqdefault.jpg)
DevOps vs SRE vs Platform Engineering | Clear Big Misconceptions
ByteByteGo
A detailed explanation of DevOps, SRE, and Platform Engineering, their roles, and how they contribute to efficient software delivery.
![Why is JWT popular?](https://www.videogist.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTExMTMsInB1ciI6ImJsb2JfaWQifX0=--f4b8dcf5e512d8187e307db27c485da93e3e2710/hqdefault.jpg)
Why is JWT popular?
ByteByteGo
A detailed analysis of JWTs, including their structure, usage, and security considerations.
![Linux File System Explained!](https://www.videogist.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6OTM4ODcsInB1ciI6ImJsb2JfaWQifX0=--e32e8535e275ddcc3c619907a21388a72e537dab/hqdefault.jpg)
Linux File System Explained!
ByteByteGo
The video explains the structure and purpose of key directories in the Linux Filesystem Hierarchy Standard (FHS).
![Top 6 Tools to Turn Code into Beautiful Diagrams](https://www.videogist.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTEyMDM3LCJwdXIiOiJibG9iX2lkIn19--762088ce988462bcca2a5802926812dc773927f4/hqdefault.jpg)
Top 6 Tools to Turn Code into Beautiful Diagrams
ByteByteGo
The video presents a comprehensive guide on six innovative tools that can convert code into various types of architectural diagrams.