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-master replication

You may have noticed two issues with the master-replica setup:

  • The master is used extensively for database writes, and hence is under constant duress
  • The issue of reads has been solved with replicas but the single point of failure for writes is still present

Master-master replication tries to solve these issues by making every database a master. It can be explained as follows:

  1. We take a cluster of databases:
Cluster of databases
  1. We designate every database as a master:
All databases are designated as a master ...

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