encyclopegia.org

Logical clock

A logical clock is a mechanism for capturing chronological and causal relationships in a distributed system. Often, distributed systems may have no physically synchronous global clock. In many applications (such as distributed GNU make), if two processes never interact, the lack of synchronization is unobservable and in these applications it is enough for the processes to agree on the event ordering (i.e., logical clock) rather than the wall-clock time. The idea of logical clocks is due to Leslie Lamport, who introduced it in 1978 with his system of timestamps.

A logical clock is a mechanism for capturing chronological and causal relationships in a distributed system. Often, distributed systems may have no physically synchronous global clock. In many applications (such as distributed GNU make), if two processes never interact, the lack of synchronization is unobservable and in these applications it is enough for the processes to agree on the event ordering (i.e., logical clock) rather than the wall-clock time. The idea of logical clocks is due to Leslie Lamport, who introduced it in 1978 with his system of timestamps. ==Local vs global time== In logical clock systems each process has two data structures: logical local time and logical global time. Logical local time is used by the process to mark its own events, and logical global time is the local information about global time. A special protocol is used to update logical local time after each local event, and logical global time when processes exchange data. ==Applications== Logical clocks are useful in computation analysis, distributed algorithm design, individual event tracking, and exploring computational progress. ==Algorithms== Some noteworthy logical clock algorithms are: Lamport timestamps, which are monotonically increasing software counters. Vector clocks, that allow for partial ordering of events in a distributed system. Version vectors, order replicas, according to updates, in an optimistic replicated system. Matrix clocks, an extension of vector clocks that also contains information about other processes' views of the system. ==References== ==External links== Distributed System Logical Time // Roberto Baldoni, Silvia Bonomi. MIDLAB, Sapienza University of Rome Chapter 3: Logical Time // Ajay Kshemkalyani and Mukesh Singhal, Distributed Computing: Principles, Algorithms, and Systems, Cambridge University Press, 2008 Distributed Systems 06. Logical Clocks // Paul Krzyzanowski, Rutgers University, Fall 2014

References

No reference rows published for this article.

Cite this article

MLA

"Logical clock." encyclopegia.org, 2026, https://encyclopegia.org/wiki/logical-clock. Accessed 24 November 2026.

Chicago

"Logical clock." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/logical-clock.

APA

encyclopegia.org. (2026). Logical clock. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/logical-clock

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

astronomical clock

stub · references available

logical negation

stub · references available

water clock

stub · references available

Six-hour clock

stub · references available

Astronomical clock in Messina

stub · references available

logical NOR

stub · references available

automaton clock

stub · references available

molecular clock

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1359048597 · 0.5 · snapshot enwiki-001359048597

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.