Issue No. 05 - May (2010 vol. 21)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TPDS.2009.111
Roberto Baldoni , Sapienza University of Rome, Rome
Angelo Corsaro , PrismTech, Marcoussis
Leonardo Querzoni , Sapienza University of Rome, Rome
Sirio Scipioni , Sapienza University of Rome, Rome
Sara Tucci Piergiovanni , Sapienza University of Rome, Rome
This paper studies the problem of realizing a common software clock among a large set of nodes without an external time reference (i.e., internal clock synchronization), any centralized control, and where nodes can join and leave the distributed system at their will. The paper proposes an internal clock synchronization algorithm which combines the gossip-based paradigm with a nature-inspired approach, coming from the coupled oscillators phenomenon, to cope with scale and churn. The algorithm works on the top of an overlay network and uses a uniform peer sampling service to fulfill each node's local view. Therefore, differently from clock synchronization protocols for small scale and static distributed systems, here, each node synchronizes regularly with only the neighbors in its local view and not with the whole system. An evaluation of the convergence speed and the synchronization error of the coupled-based internal clock synchronization algorithm has been carried out, showing how convergence time and the synchronization error depends on the coupling factor and the local view size. Moreover, the variation of the synchronization error with respect to churn and the impact of a sudden variation of the number of nodes have been analyzed to show the stability of the algorithm. In all these contexts, the algorithm shows nice performance and very good self-organizing properties. Finally, we showed how the assumption on the existence of a uniform peer-sampling service is instrumental for the good behavior of the algorithm and how, in system models where network delays are unbounded, a mean-based convergence function reaches a lower synchronization error than median-based convergence functions exploiting the number of averaged clock values.
Peer-to-peer, internal clock synchronization, peer sampling, overlay networks.
A. Corsaro, R. Baldoni, L. Querzoni, S. T. Piergiovanni and S. Scipioni, "Coupling-Based Internal Clock Synchronization for Large-Scale Dynamic Distributed Systems," in IEEE Transactions on Parallel & Distributed Systems, vol. 21, no. , pp. 607-619, 2009.