---
title: "Short note: Vertical and horizontal scalability"
subject: "Big Data Technologies"
chapter: 1
key: "semester_8/big_data_technologies:short-note-vertical-horizontal-scalability"
source: https://www.bctengineer.com/q/semester_8/big_data_technologies/short-note-vertical-horizontal-scalability
site: BCT Engineering
---

# Short note: Vertical and horizontal scalability

Big Data Technologies · Chapter 1: Introduction to Big Data

- Asked in: 2073 Magh, 5 marks
- Video: [System Design BASICS: Horizontal vs. Vertical Scaling](https://www.youtube.com/watch?v=xpDnVSmNFX0) — Gaurav Sen
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_8/big_data_technologies/short-note-vertical-horizontal-scalability
- Whole chapter: https://www.bctengineer.com/md/semester_8/big_data_technologies/chapter-1

## Question

Write a short note on Vertical and Horizontal Scalability.

## Short answer

Vertical scalability (scale up) increases a single machine's resources (CPU, RAM) but hits hardware limits. Horizontal scalability (scale out) adds more machines to a cluster, enabling near-unlimited growth with commodity hardware and better fault tolerance, as used in Hadoop.

## Answer

**Scalability** is the ability of a system to handle growing amounts of data or load by adding resources.

#### Vertical scalability (scale up)
Increasing the capacity of a single machine by adding more CPU, RAM or disk, or replacing it with a stronger server.
- Advantages: simple, no change in the application, no distribution complexity.
- Disadvantages: has a hardware upper limit, expensive high-end machines, downtime during upgrade, and a single point of failure.
- Example: upgrading a database server from 16 GB to 128 GB RAM.

#### Horizontal scalability (scale out)
Increasing capacity by adding more machines (nodes) to a cluster so that data and work are shared among them.
- Advantages: almost unlimited growth, uses cheap commodity hardware, better fault tolerance because of replication, no downtime when adding nodes.
- Disadvantages: complex software for distribution, consistency and network communication; more nodes to manage.
- Example: adding DataNodes to a Hadoop cluster, adding Cassandra nodes.

```text
 Vertical:    [small] -> [  BIG  ]
 Horizontal:  [node] -> [node][node][node][node]
```

#### Comparison
| Point | Vertical | Horizontal |
|---|---|---|
| Method | Bigger machine | More machines |
| Limit | Hardware limit | Practically none |
| Cost | Very high at top end | Low per node |
| Fault tolerance | Low | High |
| Software | Simple | Needs distributed design |

Big data systems (Hadoop, GFS, NoSQL) prefer horizontal scaling.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. Upgrading a database server from 16 GB to 128 GB RAM is an example of which scaling?
   A. Horizontal scaling
   B. Vertical scaling
   C. Replication
   D. Sharding
   Answer: B. Vertical scaling adds resources (CPU, RAM, disk) to a single machine. (Key point: Scale up vs scale out)

2. Which is a disadvantage of vertical scalability?
   A. Needs complex distributed software
   B. Needs many nodes to manage
   C. Has a hardware upper limit and is a single point of failure
   D. Cannot use a stronger server
   Answer: C. A single machine can only grow so far and its failure stops the system. (Key point: Limit of vertical scaling)

3. Why do Hadoop, GFS and NoSQL prefer horizontal scaling?
   A. Nearly unlimited growth on cheap commodity hardware with better fault tolerance
   B. It needs simpler software
   C. It has a fixed hardware limit
   D. It avoids replication
   Answer: A. Adding commodity nodes gives practically unlimited growth and fault tolerance through replication, at the cost of distributed-software complexity. (Key point: Why big data prefers horizontal scaling)

## Related in other subjects

- [Vertical/horizontal control, stream velocity](https://www.bctengineer.com/question.md?key=semester_4%2Fsurveying_ii%3Avertical-horizontal-control-stream-velocity) — Surveying II, chapter 1
- [Vertical curve with horizontal curve, 45 degrees](https://www.bctengineer.com/question.md?key=semester_6%2Ftransportation_engineering_i%3An-77c-vc-horizontal) — Transportation Engineering I, chapter 3
- [Measuring horizontal and vertical angles](https://www.bctengineer.com/question.md?key=semester_3%2Fsurveying_i%3Ahorizontal-and-vertical-angle-methods) — Surveying I, chapter 7
- [Horizontal and vertical axis wind turbines](https://www.bctengineer.com/question.md?key=semester_6%2Fenergy_resources%3Ahawt-vawt-types-characteristics) — Energy Resources, chapter 4
