UniStore: A fault-tolerant marriage of causal and strong consistency (extended version)
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 cruc...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | 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. |
---|---|
DOI: | 10.48550/arxiv.2106.00344 |