The problem of scalability and the CAP theorem

The requirement for a system to be scalable means that a system that supports a business now should also be able to support the same business with the same quality of service when it grows. A database can store 1 GB of data and effectively process 100 queries per second. What if the business grows 100 times? Will it be able to support 10,000 queries per second processing 100 GB of data? Maybe not now and in not the same installation. However, a scalable solution should be ready to be expanded to be able to handle the load as soon as it is needed.

Usually, scalability comes together with the distributed architecture of a system. If the database was able to utilize the power of multiple computers, ...

Get Learning PostgreSQL 10 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.