Detecting global predicates in distributed systems with clocks
Author(s) -
Scott D. Stoller
Publication year - 2000
Publication title -
distributed computing
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.707
H-Index - 48
eISSN - 1432-0452
pISSN - 0178-2770
ISBN - 3-540-63575-0
DOI - 10.1007/s004460050069
Subject(s) - timestamp , algorithm , computation , predicate (mathematical logic) , computer science , state (computer science) , theory of computation , vector clock , theoretical computer science , discrete mathematics , mathematics , combinatorics , programming language , clock synchronization , real time computing , synchronization (alternating current) , topology (electrical circuits)
This paper proposes a framework for detecting global state predicates in systems of processes with approximately-synchronized real-time clocks. Timestamps from these clocks are used to define two orderings on events: "definitely occurred before" and "possibly occurred before". These orderings lead naturally to definitions of 3 distinct detection modalities, i.e., 3 meanings of "predicate Φ held during a computation", namely: Poss →db Φ ("Φ possibly held"), Def →db Φ ("Φ definitely held"), and Inst Φ ("Φ definitely held in a specific global state"). This paper defines these modalities and gives efficient algorithms for detecting them. The algorithms are based on algorithms of Garg and Waldecker, Alagar and Venkatesan, Cooper and Marzullo, and Fromentin and Raynal. Complexity analysis shows that under reasonable assumptions, these real-time-clock-based detection algorithms are less expensive than detection algorithms based on Lamport's happened-before ordering. Sample applications are given to illustrate the benefits of this approach.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom