23 lines
871 B
Markdown
23 lines
871 B
Markdown
---
|
|
title: "Matrix clock"
|
|
chunk: 1/1
|
|
source: "https://en.wikipedia.org/wiki/Matrix_clock"
|
|
category: "reference"
|
|
tags: "science, encyclopedia"
|
|
date_saved: "2026-05-05T11:36:06.460710+00:00"
|
|
instance: "kb-cron"
|
|
---
|
|
|
|
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 other hosts know, and is useful in applications such as checkpointing and garbage collection.
|
|
|
|
|
|
== References ==
|
|
|
|
|
|
== See also ==
|
|
Lamport timestamps
|
|
Vector clock
|
|
Version vector |