Abstract
Assuming that each process proposes a value, the consensusproblem requires the non-faulty processes to agree on the same value that, moreover, must be one of the proposed values. Solutions to the consensus problem in synchronous systems are based on the round-based model, namely, the processes progress in synchronous rounds. The well-known worst-case lower bound for consensus in the synchronous setting is t+ 1 rounds, where tis an a prioribound on the number of failures. Simultaneous consensusis a variant of consensus in which the non-faulty processes are required to decide in the exact same round, in addition to the deciding on the same value. Dwork and Moses showed that, in a synchronous system prone to tprocess crashes, the earliest round at which a common decision can be simultaneously obtained is (t+ 1) i¾? Wwhere tis a bound on the number of faulty processes and Wis a non-negative integer determined by the actual failure pattern F. In the condition-basedapproach consensus the consensus requirement is relaxed by assuming that the input vectors (consisting of the proposed initial values) are restricted to belong to a predetermined set C. Initially considered as a means to achieve solvability for consensus in the asynchronous setting, condition-based consensus was shown by Mostefaoui, Rajsbaum and Raynal to allow solutions with better worst-case behavior. They defined a hierarchy of sets of conditions (where the set contains the condition made up of all possible input vectors). It has been shown that t+ 1 i¾? dis a tight lower bound on the minimal number of rounds for synchronous condition-based consensus with a condition in . This paper considers condition-based simultaneous consensus in the synchronous model. It first presents a simple algorithm in which processes decide simultaneously at the end of the round RS t,d,F = (t+ 1) i¾? max (W, d). The paper then shows that RS t,d,F is a lower bound for simultaneous condition-based consensus. A consequence of the analysis is that the algorithm presented is optimal in each and every run, and not just in the worst case: For every choice of failure pattern by the adversary (and every input configuration), the algorithm reaches simultaneous agreement as fast as any correct algorithm could do under the same conditions. This shows that, contrary to what could be hoped, when considering condition-based consensus with simultaneous decision, we can benefit from the best of both actual worlds (either the failure world when RS t,d,F = (t+ 1) i¾? W, or the condition world when RS t,d,F = d+ 1), but we cannot benefit from the sum of savings offered by both. Only the best discount applies.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.