Beyond Lamport's happened-before: On time bounds and the ordering of events in distributed systems

Ido Ben-Zvi, Yoram Moses

Research output: Contribution to journalArticlepeer-review

Abstract

The coordination of a sequence of actions, to be performed in a linear temporal order in a distributed system, is studied. While in asynchronous message-passing systems such ordering of events requires the construction of message chains based on Lamport's happened-before relation, this is no longer true in the presence of time bounds on message delivery. Given such bounds, the mere passage of time can provide information about the occurrence of events at remote sites, without the need for explicit confirmation. A new causal structure called the centipede is introduced, and it is shown that centipedes must exist in every execution where linear ordering of actions is ensured. Centipedes capture the subtle interplay between the explicit information obtained via message chains, and the indirectly derived information gained by the passage of time, given the time bounds. Centipedes are defined using two relations. One is called syncausality, a slight generalisation of the happened-before relation. The other is a novel bound guarantee relation among events, that is based on the bounds on message transmission. In a precise sense, centipedes play a role in the synchronous setting analogous to that played by message chains in asynchronous systems. Our study is based on a knowledge-based analysis of distributed coordination. Temporally linear coordination is reduced to nested knowledge (knowledge about knowledge). Obtaining nested knowledge of a spontaneous event is, in turn, shown to require the existence of an appropriate centipede.

Original languageEnglish
Article number13
JournalJournal of the ACM
Volume61
Issue number2
DOIs
StatePublished - Apr 2014

Keywords

  • Coordination
  • Distributed computing
  • Knowledge
  • Real-time systems
  • Temporal order

ASJC Scopus subject areas

  • Software
  • Control and Systems Engineering
  • Information Systems
  • Hardware and Architecture
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'Beyond Lamport's happened-before: On time bounds and the ordering of events in distributed systems'. Together they form a unique fingerprint.

Cite this