O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required