Data Replication
- Definition
- Having a pool of identical data base servers, each holding a copy of the data, and synchronizing the data between replicas.
How does it work?
When a client requests data, one of the replicas is selected to serve the request. This horizontal scaling allows the system to handle more concurrent reads. When a write is done to a replica, the replica must make sure that the update is synchronized with the other replicas.
Examples
- Data base replication
When should you use it?
- When there are much more reads than writes and when the reads are big.
Problems
- Synchronizing the updates is resource intensive