SD Mastery
.
course
prep
arena
ask
shorts
stories
you
?
Search lessons, topics…
⌘K
?
L1
· Intern
0 / 100 xp → junior
~
course
prep
arena
ask
shorts
stories
you
Loading page…
~/himanshu
tty1
~/himanshu
$
cd ~/next-page
[ok]
resolve route
[
..
]
stream page
← all concepts
Read-your-writes consistency
.
also: read-your-writes · read your writes · read-after-write consistency
A user always sees their own writes immediately, even if other users may still see stale data.
the two-minute refresher
The classic bug: update your profile, refresh, and the old value is back.
Fix: route a user's reads to the leader for a while after they write.
Or track the user's last write position and only read from replicas that have caught up.
Other users may still lag; only the writer is guaranteed to see the change.
Where the course teaches it
W01 · Day 2
Replication Trade-offs
learn it →
W05 · Day 1
Consistency Models
revisit →
W05 · Day 1
Consistency Models
revisit →
Related concepts
Replication lag
Monotonic reads
Eventual consistency
Notebook
Ask