Abstract
This paper is about consensus solutions optimized simultaneously for the time and communication complexities. Synchronous message passing with processors prone to crashes is the computing environment. The number f of crashes can be arbitrary as long as it is smaller than the number n of processors in the system. As a building block to our consensus solutions, we consider the gossiping problem in which processors have input rumors and the goal of every processor is to learn all the rumors of the processors that have not crashed. We show that gossiping can be achieved by a deterministic algorithm working in \({{\mathcal O}}(\log^3 n)\) time and sending \({{\mathcal O}}(n\log^4 n)\) point-to-point messages. These results improve upon the best previously known deterministic solution of gossiping that operated in \({{\mathcal O}}(\log^2 n)\) time and generated \({{\mathcal O}}(n^{1+\varepsilon})\) messages, for any constant ε>0. The efficient gossiping algorithm is applied to the problem of reaching consensus. In the Consensus problem, each processor starts with its input value and the goal is to have all processors agree on exactly one value among the inputs. First we develop a deterministic algorithm solving Consensus in \({{\mathcal O}}(n)\) time while sending \({{\mathcal O}}(n \log^5 n)\) messages. The best previously known algorithms solving Consensus in \({{\mathcal O}}(n)\) time had the message complexity bounded by \({{\mathcal O}}(n^{1+\varepsilon})\), for any constant ε>0. Next we improve the Consensus solution so that it is early stopping, which means that it terminates in \({{\mathcal O}}(f+1)\) time, where f is the number of crashes in an execution, while preserving the message complexity \({{\mathcal O}}(n \log^5 n)\).
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Amdur, S., Weber, S., Hadzilacos, V.: On the message complexity of binary agreement under crash failures. Distributed Computing 5, 175–186 (1992)
Bagchi, A., Hakimi, S.L.: Information dissemination in distributed systems with faulty units. IEEE Transactions on Computing 43, 698–710 (1994)
Bailey, N.T.J.: The Mathematical Theory of Infectious Diseases and its Applications. Charles Griffin, London (1975)
Chlebus, B.S., Kowalski, D.R.: Gossiping to reach consensus. In: Proceedings, 14th ACM Symposium on Parallel Algorithms and Architectures (SPAA), pp. 220–229 (2002)
Chlebus, B.S., Kowalski, D.R., Shvartsman, A.A.: Collective asynchronous reading with polylogarithmic worst-case overhead. In: Proceedings, 36th ACM Symposium on Theory of Computing (STOC), pp. 321–330 (2004)
Demers, A., Greene, D., Hauser, C., Irish, W., Larson, J., Shenker, S., Sturgis, H., Swineheart, D., Terry, D.: Epidemic algorithms for replicated database maintenance. In: Proceedings, 6th ACM Symposium on Principles of Distributed Computing (PODC), pp. 1–12 (1987)
De Prisco, R., Mayer, A., Yung, M.: Time-optimal message-efficient work performance in the presence of faults. In: Proceedings, 13th ACM Symposium on Principles of Distributed Computing (PODC), pp. 161–172 (1994)
Dolev, D., Reischuk, R.: Bounds on information exchange for Byzantine agreement. Journal of the ACM 32, 191–204 (1985)
Dwork, C., Halpern, J., Waarts, O.: Performing work efficiently in the presence of faults. SIAM Journal on Computing 27, 1457–1491 (1998)
Fisher, M., Lynch, N.: A lower bound for the time to assure interactive consistency. Information Processing Letters 14, 183–186 (1982)
Fisher, M., Lynch, N., Paterson, M.: Impossibility of distributed consensus with one faulty process. Journal of the ACM 32, 374–382 (1985)
Galil, Z., Mayer, A., Yung, M.: Resolving message complexity of Byzantine agreement and beyond. In: Proceedings, 36th IEEE Symposium on Foundations of Computer Science (FOCS), pp. 724–733 (1995)
Garay, J.A., Moses, Y.: Fully polynomial Byzantine agreement for n > 3t processors in t + 1 rounds. SIAM Journal on Computing 27, 247–290 (1998)
Georgiou, C., Kowalski, D.R., Shvartsman, A.A.: Efficient gossip and robust distributed computation. Theoretical Computer Science 347, 130–166 (2005)
Hadzilacos, V., Halpern, J.Y.: Message-optimal protocols for Byzantine agreement. Mathematical Systems Theory 26, 41–102 (1993)
Hadzilacos, V., Toueg, S.: Fault-tolerant broadcast and related problems. In: Mullender, S. (ed.) Distributed Systems, 2nd edn., pp. 97–145. Addison-Wesley, Reading (1993)
Hromkovic, J., Klasing, R., Pelc, A., Ruzicka, P., Unger, W.: Dissemination of Information in Communication Networks: Broadcasting, Gossiping, Leader Election, and Fault-Tolerance. Springer, Heidelberg (2005)
Karp, R., Schindelhauer, C., Shenker, S., Vöcking, B.: Randomized rumor spreading. In: Proceedings, 41st IEEE Symposium on Foundations of Computer Science (FOCS), pp. 565–574 (2000)
Kempe, D., Kleinberg, J.: Protocols and impossibility results for gossip-based communication mechanisms. In: Proceedings, 43rd IEEE Symposium on Foundations of Computer Science (FOCS), pp. 471–480 (2002)
Kempe, D., Kleinberg, J., Demers, A.: Spatial gossip and resource location protocols. Journal of the ACM 51, 943–967 (2004)
Kowalski, D.R., Musial, P., Shvartsman, A.A.: Explicit combinatorial structures for cooperative distributed algorithms. In: Proceedings, 25th International Conference on Distributed Computing Systems (ICDCS), pp. 48–58 (2005)
Pease, M., Shostak, R., Lamport, L.: Reaching agreement in the presence of faults. Journal of the ACM 27, 228–234 (1980)
Pippenger, N.: Sorting and selecting in rounds. SIAM Journal on Computing 16, 1032–1038 (1987)
Reingold, O., Vadhan, S.P., Wigderson, A.: Entropy waves, the zig-zag graph product, and new constant-degree expanders and extractors. Annals of Mathematics 155, 157–187 (2002)
van Renesse, R., Minsky, Y., Hayden, M.: A gossip-style failure detection service. In: Proceedings, IFIP International Conference on Distributed Systems Platforms and Open Distributed Processing, pp. 55–70 (1998)
Ta-Shma, A., Umans, C., Zuckerman, D.: Loss-less condensers, unbalanced expanders, and extractors. In: Proceedings, 33rd ACM Symposium on Theory of Computing (STOC), pp. 143–152 (2001)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chlebus, B.S., Kowalski, D.R. (2006). Time and Communication Efficient Consensus for Crash Failures. In: Dolev, S. (eds) Distributed Computing. DISC 2006. Lecture Notes in Computer Science, vol 4167. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11864219_22
Download citation
DOI: https://doi.org/10.1007/11864219_22
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44624-8
Online ISBN: 978-3-540-44627-9
eBook Packages: Computer ScienceComputer Science (R0)Springer Nature Proceedings Computer Science
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
