Vector clocks

Vector Clocks is an algorithm for generating a total ordering of events in a distributed system. Just as in Lamport timestamps, interprocess messages contain the state of the sending processes logical clock. Vector clock of a system of N processes is an array of N logical clocks, one per process, a local copy of which is kept in each process with the following rules for clock updates:

The Vector clocks algorithm was developed by F. Mattern in 1989.

See also: Vector clocks, Algorithm, Distributed system, Logical clock, Total ordering, Lamport timestamps