容错分布式算法安全性和活性验证的一个简短反例性质
A Short Counterexample Property for Safety and Liveness Verification of Fault-tolerant Distributed Algorithms
摘要:
分布式算法有许多关键任务应用,从嵌入式系统和复制数据库到云计算。由于异步通信、进程故障或网络故障,这些算法很难设计和验证。许多算法通过使用阈值保护来实现容错,例如,阈值保护确保进程等待,直到它从大多数对等体接收到确认。因此,域特定的语言容错分布式系统提供语言支持的阈值后卫。我们介绍了一种自动化的模型检验的安全性和活性的阈值保护的分布式算法的系统中的进程的数量和故障进程的分数的参数。我们的方法是基于一个简短的反例属性:如果一个分布式算法违反了时间规范(在LTL的片段),那么有一个反例的长度是有界的和独立的参数。我们证明了这个属性(i)根据时间公式的结构表征执行,以及(ii)使用转换的交换性来加速和缩短执行。我们扩展了ByMC工具集(拜占庭模型)与我们的技术,并验证了10个突出的容错分布式算法的活性和安全性,其中大部分是遥不可及的现有技术。
英文摘要:
Distributed algorithms have many mission-critical applications ranging from embedded systems and replicated databases to cloud computing. Due to asynchronous communication, process faults, or network failures, these algorithms are difficult to design and verify. Many algorithms achieve fault tolerance by using threshold guards that, for instance, ensure that a process waits until it has received an acknowledgment from a majority of its peers. Consequently, domain-specific languages for fault-tolerant distributed systems offer language support for threshold guards. We introduce an automated method for model checking of safety and liveness of threshold-guarded distributed algorithms in systems where the number of processes and the fraction of faulty processes are parameters. Our method is based on a short counterexample property: if a distributed algorithm violates a temporal specification (in a fragment of LTL), then there is a counterexample whose length is bounded and independent of the parameters. We prove this property by (i) characterizing executions depending on the structure of the temporal formula, and (ii) using commutativity of transitions to accelerate and shorten executions. We extended the ByMC toolset (Byzantine Model Checker) with our technique, and verified liveness and safety of 10 prominent fault-tolerant distributed algorithms, most of which were out of reach for existing techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。