Multi-Leader Topologies
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.
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.
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 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 hereStar
Drop items hereAll-to-all
Drop items hereQuiz
8 questionsWhy 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.