wordfor

live·ness

/ˈlaɪv.nəs/ (LYVE-nus) noun

Distributed systems

  1. A guarantee that something good eventually happens, such as every request eventually getting a response. A liveness property: every message submitted to the queue is eventually delivered.

Origin

Introduced, with its counterpart the safety property, by Leslie Lamport in 1977.

In practice

Ask of every loop, retry and lock: is something good guaranteed to happen eventually? Timeouts and bounded retries are how liveness is made concrete.

Say to your AI

Check this worker for liveness: can any job wait forever? Add a timeout and a bounded retry so every job eventually succeeds or fails.

In plain words

  • the system should eventually make progress
  • requests never complete
  • it gets stuck forever
  • guarantee that it finishes eventually

See also safety property deadlock freedom starvation

Find similar words