AdvancedAbout 17 min

    Database Replication Strategies

    Read the full article on Substack

    8 min read.

    Explore how databases stay in sync across multiple nodes — comparing leader-follower, multi-leader, and leaderless quorum approaches with their write availability and consistency trade-offs.

    Think of it this way: Think of a company memo system: in leader-follower, head office issues all memos and branch offices receive copies with a short delay. In multi-leader, multiple regional HQs each issue memos, but if two HQs send conflicting policy memos on the same day, someone must decide which one wins. In leaderless/quorum, any branch can update the shared policy binder — but the update only "counts" once a majority of branches stamp it, so no single branch is a bottleneck.

    LeaderTakes writesX = 1
    Follower ARead onlyX = 1
    Follower BRead onlyX = 1

    Every node holds X = 1. Only the leader takes writes.

    1/5

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Which replication strategy?

    Sort

    Sort each trait into the replication strategy it describes.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Leader-follower

    Drop items here

    Multi-leader

    Drop items here

    Leaderless (quorum)

    Drop items here
    6 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    A client writes a new value to the leader, then immediately reads from a follower and gets the old value. What term best describes this situation?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going