Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Single Leader Replication

Sumit Rawal answered on June 1, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • Issues in Single Leader Replication
  • Multi-Leader vs Single Leader Replication#
  • Some of the problems with multi-leader replication include:

  • Single Leader Replication

    0

    This form of replication is also known as the active/passive or master-slave replication. Consider a group of nodes that host a replica of a database. Out of all the nodes, one of the nodes acts as the leader of the group and the rest are designated as the followers.

    The leader accepts all the writes from the other participants/clients in the system and writes the change to its local storage. The change is then propagated to the followers. The changes made at the leader must be sent in the same order to the followers. These changes sent from the leader to its followers is also known as the *change stream* or replication log

    Clients in the system can make a read request either to the leader or any one of the followers. In an ideal situation, all the follower nodes will have caught up to the leader and present the same snapshot of data to the clients as that exists on the leader.

    Client initiates a write request with the leader

    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 01 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.