TLDR: Multi-Master Replication - Scaling Writes Across Geographies
Date: 2021-11-03 Source: https://arpitbhayani.me/blogs/multi-master-replication
Overview
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.
Key Points
- 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.
- Sharing Load: The most common reason to have a Multi-Master setup is to allow our database cluster to handle more write traffic than a single node.
- Maintaining a second copy: The second common scenario where Multi-Master comes in handy is when we want to keep a second consistent copy of our Master database, which is also required to accept the write requests.