replication lag
How far behind the leader a replica is, measured in time or in writes.
In more detail
Lag turns recent truth into an estimate. It must be measured and bounded, because a read that crosses an unmeasured lag path makes a fresh action vanish on refresh.
Related terms
- read replica — A copy of a database that follows the primary’s changes and can serve read traffic or be promoted to take over.
- staleness — How out of date a copy of data is compared with the latest write.
- read your writes — A guarantee that after you make a change, your own later reads will include it.
Taught in
- What A Design Is For, And How To Run A Design Discussion — Scalable System Design & Distributed Architecture