SpinTheMic
Pro

Interview practice question

User saves and sees old data

System Design · Databases · Intermediate

A user updates their profile, refreshes the page and sees the old version. Then it fixes itself after a few seconds. What is going on and how do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Read from a lagging replica.
  • Replication lag after write.
  • Read-your-writes consistency.
  • Route user's reads to primary briefly.
  • Or track write version / LSN.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics