Replication Techniques

Gain an understanding of different replication techniques in distributed systems.

There are three approaches to conducting replication in a distributed system:

  • Single-leader replication
  • Multi-leader replication
  • Leaderless replication

Let’s explore these replication techniques.

Single-leader replication

Each node storing a copy of the database is called a replica. A database system may have many replicas. With replication, these replica nodes are in sync, and they remain consistent over time.

In single-leader replication, one of the replicas is called the leader. All writes from clients are handled by the leader.

Other replicas are called ...