论文标题

检查分布式数据库的因果一致性

Checking Causal Consistency of Distributed Databases

论文作者

Zennou, Rachid, Biswas, Ranadeep, Bouajjani, Ahmed, Enea, Constantin, Erradi, Mohammed

论文摘要

CAP定理表明(强)一致性,可用性和分区耐受性是不可能一起确保的。因果一致性是可以实施的薄弱一致性模型之一,以确保分布式系统中的可用性和分区耐受性。在这项工作中,我们提出了一种工具来自动检查分布式/并发系统执行对因果一致性模型的一致性。我们的方法在于减少检查执行是否与求解数据核心查询的因果关系一致的问题。减少是基于对违反因果一致性的执行的完整特征,这些循环在这些执行中发生的操作之间适当定义的关系中的存在。我们已经在分布式数据库的测试工具中实施了减少,并在实际案例研究上进行了几项实验,显示了建议方法的效率。

The CAP Theorem shows that (strong) Consistency, Availability, and Partition tolerance are impossible to be ensured together. Causal consistency is one of the weak consistency models that can be implemented to ensure availability and partition tolerance in distributed systems. In this work, we propose a tool to check automatically the conformance of distributed/concurrent systems executions to causal consistency models. Our approach consists in reducing the problem of checking if an execution is causally consistent to solving Datalog queries. The reduction is based on complete characterizations of the executions violating causal consistency in terms of the existence of cycles in suitably defined relations between the operations occurring in these executions. We have implemented the reduction in a testing tool for distributed databases, and carried out several experiments on real case studies, showing the efficiency of the suggested approach.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源