Self-Stabilizing Clock Synchronization with 1-bit Messages
Paul Bastide, George Giakkoupis, Hayk Saribekyan
Abstract
We study the fundamental problem of distributed clock synchronization in a basic probabilistic communication setting. We consider a synchronous fully-connected network of n agents, where each agent has a local clock, that is, a counter increasing by one modulo T in each round. The clocks have arbitrary values initially, and they must all indicate the same time eventually. We assume a pull communication model, where in every round each agent receives an ℓ-bit message from a random agent. We devise several fast synchronization algorithms that use small messages and are self-stabilizing, that is, the complete initial state of each agent (not just its clock value) can be arbitrary.
We first provide a surprising algorithm for synchronizing a binary clock (T = 2) using 1-bit messages (ℓ = 1). This is a variant of the voter model and converges in O(log n) rounds w.h.p., unlike the voter model which needs polynomial time. Next we present an elegant extension of our algorithm that synchronizes a modulo T = 4 clock, with ℓ = 1, in O(log n) rounds. Using these two algorithms, we refine an algorithm of Boczkowski et al. (SODA'17), that synchronizes a modulo T clock in polylogarithmic time (in n and T ). The original algorithm uses ℓ = 3 bit messages, and each agent receives messages from two agents per round. Our algorithm reduces the message size to ℓ = 2, and the number of messages received to one per round, without increasing the running time. Finally, we present two algorithms that simulate our last algorithm achieving ℓ < 2, without hurting the asymptotic running time. The first algorithm uses a message space of size 3, i.e., ℓ = log 2 (3). The second requires a rough upper bound on log n, and uses just 1-bit messages. More generally, our constructions can simulate any self-stabilizing algorithm that requires a shared clock, without increasing the message size and by only increasing the running time by a constant factor and a polylogarithmic term.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- The Minority Dynamics and the Power of SynchronicityLuca Becchetti, Andrea Clementi, Francesco Pasquale, Luca Trevisan et al.SODA 2024 · 4 citations
- Recover from Excessive Faults in Partially-Synchronous BFT SMRTiantian Gong, Gustavo Franco Camilo, Kartik Nayak, Andrew Lewis-Pye et al.USENIX Security 2025
Related papers
- A time and space optimal stable population protocol solving exact majorityDavid Doty, Mahsa Eftekhari, Leszek Gasieniec, Eric E. Severson et al.FOCS 2021 · 17 citations
- Fast Consensus via the Unconstrained Undecided State DynamicsGregor Bankhamer, Petra Berenbrink, Felix Biermeier, Robert Elsässer et al.SODA 2022 · 12 citations
- Efficient randomized distributed coloring in CONGESTMagnús M. Halldórsson, Fabian Kuhn, Yannic Maus, Tigran TonoyanSTOC 2021 · 1 citation
- A deterministic algorithm for the MST problem in constant rounds of congested cliqueKrzysztof NowickiSTOC 2021 · 10 citations
- Deterministic Distributed Vertex Coloring: Simpler, Faster, and without Network DecompositionMohsen Ghaffari, Fabian KuhnFOCS 2021 · 38 citations
