CausalSpartanX: Causal Consistency and Non-Blocking Read-Only Transactions

12/18/2018
by   Mohammad Roohitavaf, et al.
0

Causal consistency is an intermediate consistency model that can be achieved together with high availability and performance requirements even in presence of network partitions. In the context of partitioned data stores, it has been shown that implicit dependency tracking using timestamps is more efficient than explicit dependency tracking. Existing time-based solutions depend on monotonic psychical clocks that are closely synchronized. These requirements make current protocols vulnerable to clock anomalies. In this paper, we propose a new time-based algorithm, CausalSpartanX, that instead of physical clocks, utilizes Hybrid Logical Clocks (HLCs). We show that using HLCs, without any overhead, we make the system robust on physical clock anomalies. This improvement is more significant in the context of query amplification, where a single query results in multiple GET/PUT operations. We also show that CausalSpartanX decreases the visibility latency for a given data item compared with existing time-based approaches. In turn, this reduces the completion time of collaborative applications where two clients accessing two different replicas edit same items of the data store. CausalSpartanX also provides causally consistent distributed read-only transactions. CausalSpartanX read-only transactions are non-blocking and require only one round of communication between the client and the servers. Also, the slowdowns of partitions that are unrelated to a transaction do not affect the performance of the transaction. Like previous protocols, CausalSpartanX assumes that a given client does not access more than one replica. We show that in presence of network partitions, this assumption (made in several other works) is essential if one were to provide causal consistency as well as immediate availability to local updates.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/12/2018

Causal Consistency and Latency Optimality: Friend or Foe?

Causal consistency is an attractive consistency model for replicated dat...
research
02/16/2023

TransEdge: Supporting Efficient Read Queries Across Untrusted Edge Nodes

We propose Transactional Edge (TransEdge), a distributed transaction pro...
research
06/01/2021

UniStore: A fault-tolerant marriage of causal and strong consistency (extended version)

Modern online services rely on data stores that replicate their data acr...
research
01/11/2019

SSS: Scalable Key-Value Store with External Consistent and Abort-free Read-only Transactions

We present SSS, a scalable transactional key-value store deploying a nov...
research
11/26/2018

The SNOW Theorem Revisited

In the paper titled "The SNOW Theorem" the authors proposed four desirab...
research
08/16/2018

Session Guarantees with Raft and Hybrid Logical Clocks

Eventual consistency is a popular consistency model for geo-replicated d...
research
03/22/2018

Toward Adaptive Causal Consistency for Replicated Data Stores

Causal consistency for key-value stores has two main requirements (1) do...

Please sign up or login with your details

Forgot password? Click here to reset