Jump to content

Matrix clock

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by PamD (talk | contribs) at 10:07, 22 November 2008 (Stub-sorting. You can help!). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A matrix clock is a mechanism for capturing chronological and causal relationships in a distributed system.

Matrix clocks are a generalization of the notion of vector clocks. A matrix clock maintains a vector of the vector clocks for each communicating host.

Every time a message is exchanged, the sending host sends not only what it knows about the global state of time, but also the state of time that it received from other hosts.

This allows establishing a lower bound on what another hosts know, and is useful in applications such as checkpointing and garbage collection.