backenddatabasessystem-design
Replica reads can lag behind writes
Anonymous
Replication lag means a read sent to a replica may not see a recently committed write. If a flow needs read-your-writes behavior, route the follow-up read to the primary or use a consistency token and wait until the replica has caught up. That can trade read distribution for consistency or latency.
0