Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1989493.1989516acmconferencesArticle/Chapter ViewAbstractPublication PagesspaaConference Proceedingsconference-collections
research-article

Stabilizing consensus with the power of two choices

Published: 04 June 2011 Publication History
  • Get Citation Alerts
  • Abstract

    In the standard consensus problem there are n processes with possibly different input values and the goal is to eventually reach a point at which all processes commit to exactly one of these values. We are studying a slight variant of the consensus problem called the stabilizing consensus problem [2]. In this problem, we do not require that each process commits to a final value at some point, but that eventually they arrive at a common, stable value without necessarily being aware of that. This should work irrespective of the states in which the processes are starting. Our main result is a simple randomized algorithm called median rule that, with high probability, just needs O(log m log log n + log n) time and work per process to arrive at an almost stable consensus for any set of m legal values as long as an adversary can corrupt the states of at most √n processes at any time. Without adversarial involvement, just O(log n) time and work is needed for a stable consensus, with high probability. As a by-product, we obtain a simple distributed algorithm for approximating the median of n numbers in time O(log m log log n + log n) under adversarial presence.

    References

    [1]
    D. Angluin, J. Aspnes, and D. Eisenstat. A simple population protocol for fast robust approximate majority. In Proc. of the 21st Int. Symposium on Distributed Computing (DISC), pages 20--32, 2007.
    [2]
    D. Angluin, M. Fischer, and H. Jiang. Stabilizing consensus in mobile networks. In Proc. of the Intl. Conference on Distributed Computing in Sensor Networks (DCOSS), pages 37--50, 2006.
    [3]
    J. Aspnes. Randomized protocols for aynchronous consensus. Distributed Computing, 16(2-3):165--176, 2003.
    [4]
    J. Aspnes, H. Attiya, and K. Censor. Randomized consensus in expected o(n łog n) individual work. In Proc. of the 27th ACM Symp. on Principles of Distributed Computing (PODC), pages 325--333, 2008.
    [5]
    J. Aspnes and K. Censor. Approximate shared-memory counting despite a strong adversary. In Proc. of the 20th ACM Symp. on Discrete Algorithms (SODA), pages 441--450, 2009.
    [6]
    H. Attiya and K. Censor. Lower bounds for randomized consensus under a weak adversary. In Proc. of the 27th ACM Symp. on Principles of Distributed Computing (PODC), pages 315--324, 2008.
    [7]
    H. Attiya and K. Censor. Tight bounds for asynchronous randomized consensus. Journal of the ACM, 55(5):1--26, 2008.
    [8]
    H. Attiya and J. Welch. Distributed Computing: Fundamentals, Simulations, and Advanced Topics (2nd Edition). John Wiley and Sons, 2004.
    [9]
    Y. Azar, A. Broder, A. Karlin, and E. Upfal. Balanced allocations. SIAM Journal on Computing, 29(1):180--200, 1999.
    [10]
    Z. Bar Joseph and M. Ben-Or. A tight lower bound for randomized synchronous consensus. In Proc. of the 17th ACM Symp. on Principles of Distributed Computing (PODC), pages 193--199, 1998.
    [11]
    M. Ben-Or, E. Pavlov, and V. Vaikuntanathan. Byzantine agreement in the full-information model in O(łog n) rounds. In Proc. of the 38th ACM Symp. on Theory of Computing (STOC), pages 179--186, 2006.
    [12]
    R. Canetti and T. Rabin. Fast asynchronous Byzantine agreement with optimal resilience. In Proc. of the 25th ACM Symp. on Theory of Computing (STOC), pages 42--51, 1993.
    [13]
    R. Cole, A. Frieze, B.M. Maggs, M. Mitzenmacher, A.W. Richa, R.K. Sitaraman, and E. Upfal. On balls and bins with deletions. In Proc. of the 2nd Intl. Workshop on Randomization and Approximation Techniques in Computer Science (RANDOM), 1998.
    [14]
    R. Cole, B.M. Maggs, F. Meyer auf der Heide, M. Mitzenmacher, A.W. Richa, K. Schröder, R.K. Sitaraman, and B. Vöcking. Randomized protocols for low-congestion circuit routing in multistage interconnection networks. In Proc. of the 29th ACM Symp. on Theory of Computing (STOC), pages 378--388, 1998.
    [15]
    M. Dietzfelbinger and F. Meyer auf der Heide. Simple, efficient shared memory simulations. In Proc. of the 10th ACM Symp. on Parallel Algorithms and Architectures (SPAA), pages 110--119, 1993.
    [16]
    D. Dolev, N. Lynch, S. Pinter, E. Stark, and W. Weihl. Reaching approximate agreement in the presence of faults. Journal of the ACM, 33(3):499--516, 1986.
    [17]
    S. Dolev, R. Kat, and E. Schiller. When consensus meets self-stabilization. In Proc. of the 10th International Conference on Principle of Distributed Systems (OPODIS), pages 45--63, 2006.
    [18]
    R. Elsasser and T. Sauerwald. The power of memory in randomized broadcasting. In Proc. of the 19th ACM Symp. on Discrete Algorithms (SODA), pages 773--781, 2008.
    [19]
    P. Feldman and S. Micali. An optimal probabilistic protocol for synchronous Byzantine agreement. SIAM Journal on Computing, 26(4):873--933, 1997.
    [20]
    M. Fischer, N. Lynch, and M. Merritt. Easy impossibility proofs for distributed consensus problems. Distributed Computing, 1(1):26--39, 1986.
    [21]
    M. Fischer, N. Lynch, and M. Paterson. Impossibility of distributed consensus with one faulty process. Journal of the ACM, 32(2):374--382, 1985.
    [22]
    S. Gilbert and D. Kowalski. Distributed agreement with optimal communication complexity. In Proc. of the 21st ACM Symp. on Discrete Algorithms (SODA), pages 965--977, 2010.
    [23]
    K. Ito and H.P. McKean. Diffusion Processes and their Sample Paths. Springer Verlag, Heidelberg, 1974.
    [24]
    N.L. Johnson and S. Kotz. Encyclopedia of Statistical Sciences. John Wiley, New York, 1982.
    [25]
    B. Kapron, D. Kempe, V. King, J. Saia, and V. Sanwalani. Fast asynchronous Byzantine agreement and leader election with full information. In Proc. of the 19th ACM Symp. on Discrete Algorithms (SODA), pages 1038--1047, 2008.
    [26]
    R. Karp, M. Luby, and F. Meyer auf der Heide. Efficient PRAM simulation on a distributed memory machine. In Proc. of the 24th ACM Symp. on Theory of Computing (STOC), pages 318--326, 1992.
    [27]
    J. Katz and C.-Y. Koo. On expected constant-round protocols for Byzantine agreement. Journal of Computer and System Sciences, 75(2):91--112, 2009.
    [28]
    D. Kempe, A. Dobra, and J. Gehrke. Gossip-based computation of aggregate information. In Proc. of the 44 IEEE Symp. on Foundations of Computer Science (FOCS), pages 482--491, 2003.
    [29]
    V. King and J. Saia. Breaking the O(n<sup>2</sup>) bit barrier: Scalable Byzantine agreement with an adaptive adversary. In Proc. of the 29th ACM Symp. on Principles of Distributed Computing (PODC), pages 420--429, 2010.
    [30]
    V. King, J. Saia, V. Sanwalani, and E. Vee. Towards secure and scalable computation in peer-to-peer networks. In Proc. of the 47th IEEE Symp. on Foundations of Computer Science (FOCS), pages 87--98, 2006.
    [31]
    F. Kuhn, T. Locher, and R. Wattenhofer. Tight bounds for distributed selection. In Proc. of the 19th ACM Symp. on Parallel Algorithms and Architectures (SPAA), pages 145--153, 2007.
    [32]
    N. Lynch. Distributed Algorithms. Morgan Kaufmann Publishers, 1996.
    [33]
    B. Patt-Shamir. A note on efficient aggregate queries in sensor networks. Theoretical Computer Science, 370(1-3):254--264, 2007.
    [34]
    M. Rabin. Randomized Byzantine generals. In Proc. of the 24th IEEE Symp. on Foundations of Computer Science (FOCS), pages 403--409, 1983.
    [35]
    N. Shrivastava, C. Buragohain, D. Agrawal, and S. Suri. Medians and beyond: new aggregation techniques for sensor networks. In Proc. of the 2nd Intl. Conference on Embedded Networked Sensor Systems (SenSys), pages 239--249, 2004.

    Cited By

    View all
    • (2024)Invited Paper: Blockchains made Lightweight: A Median Rule for State Machine ReplicationProceedings of the 2024 Workshop on Advanced Tools, Programming Languages, and PLatforms for Implementing and Evaluating algorithms for Distributed systems10.1145/3663338.3665452(1-5)Online publication date: 17-Jun-2024
    • (2024)Early adapting to trends: self-stabilizing information spread using passive communicationDistributed Computing10.1007/s00446-024-00462-8Online publication date: 22-Feb-2024
    • (2024)An Analysis of Avalanche ConsensusStructural Information and Communication Complexity10.1007/978-3-031-60603-8_2(27-44)Online publication date: 27-May-2024
    • Show More Cited By

    Index Terms

    1. Stabilizing consensus with the power of two choices

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      SPAA '11: Proceedings of the twenty-third annual ACM symposium on Parallelism in algorithms and architectures
      June 2011
      404 pages
      ISBN:9781450307437
      DOI:10.1145/1989493
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Sponsors

      In-Cooperation

      • EATCS: European Association for Theoretical Computer Science

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 04 June 2011

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. distributed consensus
      2. randomized algorithms
      3. self-stabilization

      Qualifiers

      • Research-article

      Conference

      SPAA '11

      Acceptance Rates

      Overall Acceptance Rate 447 of 1,461 submissions, 31%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)22
      • Downloads (Last 6 weeks)5

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)Invited Paper: Blockchains made Lightweight: A Median Rule for State Machine ReplicationProceedings of the 2024 Workshop on Advanced Tools, Programming Languages, and PLatforms for Implementing and Evaluating algorithms for Distributed systems10.1145/3663338.3665452(1-5)Online publication date: 17-Jun-2024
      • (2024)Early adapting to trends: self-stabilizing information spread using passive communicationDistributed Computing10.1007/s00446-024-00462-8Online publication date: 22-Feb-2024
      • (2024)An Analysis of Avalanche ConsensusStructural Information and Communication Complexity10.1007/978-3-031-60603-8_2(27-44)Online publication date: 27-May-2024
      • (2023)On the role of memory in robust opinion dynamicsProceedings of the Thirty-Second International Joint Conference on Artificial Intelligence10.24963/ijcai.2023/4(29-37)Online publication date: 19-Aug-2023
      • (2023)Balanced Allocations with the Choice of NoiseJournal of the ACM10.1145/362538670:6(1-84)Online publication date: 27-Sep-2023
      • (2023)Fast Convergence of k-Opinion Undecided State Dynamics in the Population Protocol ModelProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594589(13-23)Online publication date: 19-Jun-2023
      • (2023)Brief Announcement: Discrete Incremental VotingProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594582(278-281)Online publication date: 19-Jun-2023
      • (2023)On Coalescence Time in Graphs: When Is Coalescing as Fast as Meeting?ACM Transactions on Algorithms10.1145/357690019:2(1-46)Online publication date: 21-Apr-2023
      • (2023)Distributed Alignment Processes With Samples of Group AverageIEEE Transactions on Control of Network Systems10.1109/TCNS.2022.321264010:2(960-971)Online publication date: Jun-2023
      • (2022)Balanced Allocations with the Choice of NoiseProceedings of the 2022 ACM Symposium on Principles of Distributed Computing10.1145/3519270.3538428(164-175)Online publication date: 20-Jul-2022
      • Show More Cited By

      View Options

      Get Access

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media