System Design Visualized
Lesson C2.4

Replication lag and read-your-writes

Play this lessonThis lesson comes with a chapter quiz.

With leader-follower replication (Chapter 1), writes go to the leader and are copied to followers asynchronously, usually within milliseconds, sometimes seconds. A user updates their profile, the next page reads from a follower that hasn't caught up, and their change seems to have vanished.

The rest of this lesson is part of Pro

Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.

See Pro

Remember it, then prove it

Create a free account to save your progress, get spaced-repetition reviews of what you miss, and design real systems in the interview simulator.

Start free