☆ 13 r/databases ·by Jordan ·2026-11-04 Read replica lag makes the profile page show stale data 1143 views After a user updates their bio, the profile page still shows the old value because we read from a replica. Refreshing a few seconds later fixes it. ⧉ Copy link⚑ Report
☆ 0 C Chloe ·2026-11-04#1 That is read-your-writes consistency. Route the user's own profile requests to the primary and keep the replica for public browsing. ⧉ Copy link⚑ Report
☆ 0 J Jordan ·2026-11-04#2 What about other users who just received an update notification? ⧉ Copy link⚑ Report
☆ 0 F Felix ·2026-11-04#3 They can tolerate a second of lag. Or include the updated value in the event payload so the UI shows it without querying at all. ⧉ Copy link⚑ Report
3 replies