Master-Class: Understanding Database Replication (Single, Multi, and Leaderless)
Replication = same data, multiple nodes. You do it for three reasons: to survive node failures, serve reads from nearby replicas, or spread load. Simple enough. The algorithm you p...