Checking Causal Consistency of Distributed Databases

11/19/2020
by   Rachid Zennou, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/16/2022

Optimal Stateless Model Checking of Transactional Programs under Causal Consistency

We present a framework for efficient stateless model checking (SMC) of c...
research
01/19/2018

Just-Right Consistency: reconciling availability and safety

By the CAP Theorem, a distributed data storage system can ensure either ...
research
02/22/2018

Data Consistency Simulation Tool for NoSQL Database Systems

Various data consistency levels have an important part in the integrity ...
research
07/17/2018

Improving the "Correct Eventual Consistency" Tool

Preserving invariants while designing distributed applications under wea...
research
03/23/2020

Soteria: A Provably Compliant User Right Manager Using a Novel Two-Layer Blockchain Technology

Soteria is a user right management system designed to safeguard user-dat...
research
12/21/2022

Towards Transactional Causal Consistent Microservices Business Logic

Microservices architecture has been widely adopted to develop software s...

Please sign up or login with your details

Forgot password? Click here to reset