Grokking the System Design Interview
Ask Author
Back to course home

0% completed

Primary-Replica vs Peer-to-Peer Replication
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Primary-Replica and Peer-to-Peer Replication are two distinct approaches to data replication in distributed systems, each with its own use cases, benefits, and challenges.

Primary-Replica Replication

  • Definition: In Primary-Replica (also known as Master-Slave) replication, one server (the primary/master) handles all the write operations, and the changes are then replicated to one or more other servers (replicas/slaves).
  • Characteristics:
    • Unidirectional: Data flows from the primary to the replicas.

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible