Master-replica replication

This is the most straightforward method of replication. It can be explained as follows:

  1. We take a cluster of databases:
Cluster of databases
  1. Designate one of them as the master, and the remaining databases as replicas:
DB-3 is designated as the master
  1. All writes are performed to the master:
Three writes are performed on the master
  1. All reads are performed from the replicas:
>
Reads performed from the replicas
  1. The master ensures that all the replicas have the latest state which is the state of the master database:
The master updates all the replicas with the latest update
  1. Failure in master database still allows reads from replicant databases but writes are not possible:
Master failure; no writes, only reads
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.144.229