wordfor

lin·e·ar·iz·a·bil·i·ty

/ˌlɪn.i.ə.raɪ.zəˈbɪl.ɪ.ti/ (lin-ee-uh-ry-zuh-BIL-ih-tee) noun

Distributed systems

  1. Every operation appears to take effect instantly at a single point between its start and finish, so all clients see one up-to-date copy. A linearizable key-value store never returns an older value after any client has seen a newer one.

Origin

Defined by Maurice Herlihy and Jeannette Wing in 1990.

In practice

Know which of your stores offer it. Reading your own write from a replica, a cache or an eventually consistent database may not give you this guarantee.

Say to your AI

Does this storage layer give linearizable reads? If not, tell me which code paths assume it and how to fix them.

In plain words

  • a read right after a write returns the old value
  • everyone should see the same latest value
  • it should behave like there's only one copy
  • stale reads from replicas

See also eventual consistency serializability read-your-writes consistency

Find similar words