Hybrid binary consensus in anonymous asynchronous systems using coins and failure detectors
Autor: | Javier Martín-Rueda, José Luis López-Presa, Ernesto Jiménez |
---|---|
Rok vydání: | 2019 |
Předmět: |
Consensus algorithm
Theoretical computer science Asynchronous system Computer science Byte Binary number 020206 networking & telecommunications Fault tolerance Context (language use) 0102 computer and information sciences 02 engineering and technology 01 natural sciences Hybrid algorithm Synchronization Theoretical Computer Science 010201 computation theory & mathematics Hardware and Architecture Asynchronous communication 0202 electrical engineering electronic engineering information engineering Software Information Systems |
Zdroj: | The Journal of Supercomputing |
ISSN: | 0920-8542 |
DOI: | 10.1007/s11227-019-03001-6 |
Popis: | Fault tolerance and agreement are essential capabilities of current distributed systems. In this context, Binary Consensus is a key problem. It is well-known that consensus cannot be solved in a pure asynchronous system when at least one process can crash. To overcome this impossibility result, the asynchronous system is usually augmented with randomization, failure detectors or some kind of synchronization. Random binary consensus in classic asynchronous systems is usually solved using a common coin to achieve a constant expected number of rounds. However, to our knowledge, the literature lacks the existence of common coin algorithms for anonymous asynchronous systems. In this paper, an implementation of a common coin that runs on anonymous asynchronous systems is proposed and it is proved that the probability that this common coin gives the same outcome to all processes is bigger than 0.75 with small bias. This result allows to solve random consensus, in anonymous asynchronous systems, in four expected rounds, independently of the number of processes in the system. The main result of this paper is a hybrid (deterministic/random) binary consensus algorithm which solves consensus in anonymous asynchronous systems enriched with a common coin and a failure detector of class $$A{\varOmega}'$$, where less than half of the processes may fail, which is an optimal bound on the number of failures. To our knowledge, this is the first such algorithm. It only needs a quadratic number of interchanged messages per round, and the size of these messages is minimal (O(1) bytes). Consensus is achieved in one round by our hybrid algorithm if the failure detector does not make any errors or all processes propose the same value, and in four expected rounds if the adversary does not control the common coin. Additionally, we conducted an experimental evaluation whose results agree with the expected ones and slightly improve them. In particular, above 95% of the times, all processes get the same outcome from the coin, and random consensus is achieved in less than two rounds on average with very small standard deviation. This makes our algorithms good candidates for deployment in practical distributed systems. |
Databáze: | OpenAIRE |
Externí odkaz: | |
Nepřihlášeným uživatelům se plný text nezobrazuje | K zobrazení výsledku je třeba se přihlásit. |