Scalability
Scalability is the ability of a system to handle increasing demands for resources. In the context of databases, scalability refers to the ability of a database to handle increasing demands for data storage and processing. There are two fundamental types of scalability that are vastly discussed:
- Vertical scalability: Vertical scalability is the ability of a system to handle increasing demands by increasing the capacity of its resources. For example, a database can be vertically scaled by increasing the amount of memory or storage available to it.
- Horizontal scalability: Horizontal scalability is the ability of a system to handle increasing demands by adding more nodes to the system. For example, a database can be horizontally scaled by adding more database servers to the cluster. Replication can also be considered as one of the ways of performing horizontal scaling, making the data more available within and across regions.
Simply put, horizontal scaling...