Synthesis of Distributed Agreement-Based Systems with Efficiently-Decidable Verification
Open Access
- 20 April 2023
- book chapter
- Published by Springer Nature
- p. 289-308
Abstract
Distributed agreement-based (DAB) systems use common distributed agreement protocols such as leader election and consensus as building blocks for their target functionality. While automated verification for DAB systems is undecidable in general, recent work identifies a large class of DAB systems for which verification is efficiently-decidable. Unfortunately, the conditions characterizing such a class can be opaque and non-intuitive, and can pose a significant challenge to system designers trying to model their systems in this class.In this paper, we present a synthesis-driven tool, Cinnabar, to help system designers building DAB systems ensure that their intended designs belong to an efficiently-decidable class. In particular, starting from an initial sketch provided by the designer, Cinnabar generates sketch completions using a counterexample-guided procedure. The core technique relies on compactly encoding root-causes of counterexamples to varied properties such as efficient-decidability and safety. We demonstrate Cinnabar ’s effectiveness by successfully and efficiently synthesizing completions for a variety of interesting DAB systems including a distributed key-value store and a distributed consortium system.Keywords
All Related Versions
This publication has 33 references indexed in Scilit:
- Automatic Completion of Distributed Protocols with Symmetry2015
- Parameterized SynthesisLogical Methods in Computer Science, 2014
- Synthesizing Finite-State Protocols from Scenarios and Requirements2014
- Automatic Compositional Synthesis of Distributed SystemsLecture Notes in Computer Science, 2014
- A Logic-Based Framework for Verifying Consensus Algorithms2014
- Dafny: An Automatic Program Verifier for Functional Correctness2010
- Deciding Effectively Propositional Logic Using DPLL and Substitution SetsJournal of Automated Reasoning, 2009
- The Heard-Of model: computing in distributed systems with benign faultsDistributed Computing, 2009
- Combinatorial sketching for finite programs2006
- Limits for automatic verification of finite-state concurrent systemsInformation Processing Letters, 1986