Designing algorithms for distributed systems with partially synchronized clocks

S.K. Chaudhuri, Rainer Gawlick, Nancy Lynch

1993 · 13 citations · 10 references

DOIFull text

Open access

Concepts

Abstract

Much of modern systems programming involves designing algorithms for distributed systems in which the nodes have access to information about time. Time information can be used to estimate the time at which system or environment events occur, to detect process failures, to schedule the use of resources, and to synchronize activities of different system components. In this paper we propose a simple programming model that is based on the timed automaton model of Lynch and Vaandrager [9], which gives algorithms direct access to perfectly accurate time information. Unfortunately, this programming model is not realistic. In a realistic distributed system, clocks have skew and a finite granularity. Furthermore, other details neglected by the timed automaton model such as processor step times must also be considered. We provide two simulations that show how to transform an algorithm designed in the simple programming model to run in a more realistic distributed system. One of our simulations is an extension of previous results on the use of inaccurate clocks by Lampoft [5], Neiger and Toueg [13], and Welch [17]. Our extensions suggest several powerful design techniques for algorithms that are to be run in distributed systems with clocks whose divergence from real time is bounded. We demonstrate these techniques by providing a new algorithm for distributed linearizable read-write objects. This algorithm significantly improves over previous results [10] in terms of time complexity and algorithmic simplicity.

References

10