AdvancedAbout 15 min

    Multi-Leader Topologies

    Read the full article on Substack

    7 min read.

    Send writes around a ring, through a star and across an all-to-all mesh. See a failed node block a path, writes arrive in different orders, and a reply land before its question.

    Think of it this way: A ring is a rumour passed down a line of people: it is slow, and one person who steps out stops it. All-to-all is everyone texting everyone: fast and robust, but the messages arrive in different orders on different phones.

    ABCDE

    Anothing yet

    Bnothing yet

    Cnothing yet

    Dnothing yet

    Enothing yet

    Five leaders in a ring. Each one passes writes to the next. A user writes w1 at A.

    1/17

    Check your understanding

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

    Ring, star or all-to-all?

    Sort

    Sort each trait by the topology it describes.

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

    Ring

    Drop items here

    Star

    Drop items here

    All-to-all

    Drop items here
    6 pieces left to place

    Quiz

    8 questions
    Question 1 of 8
    Score: 0

    Why does each replicated write carry the ids of the nodes it passed?

    Done with this lesson?

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

    Keep going