Multi-Master Replication - Scaling Writes Across Geographies
Source: https://arpitbhayani.me/blogs/multi-master-replication Date: 2021-11-03
Explore Multi-Master replication - its benefits like load sharing and high availability, use cases, and key challenges to consider.
A not-so-common yet super-useful replication strategy is Multi-Master replication - in which multiple nodes in the cluster accept writes, contrary to what is observed in a typical Master-Replica replication. In this essay, we look at what Multi-Master Replication is, the core challenge it addresses, use-cases we can find this replication in action, and the possible concerns of using it.
Multi-Master Replication
A Multi-Master setup has multiple nodes of a database cluster accepting the write requests. It typically depends on the client to pick a Master node, or an abstracted proxy may choose one. As soon as a Master node gets the write request, it accepts it and applies the changes. Once the update is made on one Master, it is to all other Master nodes of the cluster asynchronously, making the data eventually consistent.
