Back to Search Start Over

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

Authors :
Bravo, Manuel
Gotsman, Alexey
de Régil, Borja
Wei, Hengfeng
Publication Year :
2021

Abstract

Modern online services rely on data stores that replicate their data across geographically distributed data centers. Providing strong consistency in such data stores results in high latencies and makes the system vulnerable to network partitions. The alternative of relaxing consistency violates crucial correctness properties. A compromise is to allow multiple consistency levels to coexist in the data store. In this paper we present UniStore, the first fault-tolerant and scalable data store that combines causal and strong consistency. The key challenge we address in UniStore is to maintain liveness despite data center failures: this could be compromised if a strong transaction takes a dependency on a causal transaction that is later lost because of a failure. UniStore ensures that such situations do not arise while paying the cost of durability for causal transactions only when necessary. We evaluate UniStore on Amazon EC2 using both microbenchmarks and a sample application. Our results show that UniStore effectively and scalably combines causal and strong consistency.<br />Comment: Extended version of a paper from USENIX ATC'21: Annual Technical Conference

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2106.00344
Document Type :
Working Paper