Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Journal articles
  4. Causal Consistency and Latency Optimality: Friend or Foe?
 
research article

Causal Consistency and Latency Optimality: Friend or Foe?

Didona, Diego  
•
Guerraoui, Rachid  
•
Wang, Jingjing  
Show more
July 1, 2018
Proceedings Of The Vldb Endowment

Causal consistency is an attractive consistency model for geo-replicated data stores. It is provably the strongest model that tolerates network partitions. It avoids the long latencies associated with strong consistency, and, especially when using read-only transactions (ROTs), it prevents many of the anomalies of weaker consistency models. Recent work has shown that causal consistency allows "latency-optimal" ROTs, that are nonblocking, single-round and single-version in terms of communication. On the surface, this latency optimality is very appealing, as the vast majority of applications are assumed to have read-dominated workloads.

In this paper, we show that such "latency-optimal" ROTs induce an extra overhead on writes that is so high that it actually jeopardizes performance even in read-dominated workloads. We show this result from a practical as well as from a theoretical angle.

We present the Contrarian protocol that implements "almost latency-optimal" ROTs, but that does not impose on the writes any of the overheads incurred by latency-optimal protocols. In Contrarian, ROTs are nonblocking and single-version, but they require two rounds of client-server communication. We experimentally show that this protocol not only achieves higher throughput, but, surprisingly, also provides better latencies for all but the lowest loads and the most read-heavy workloads.

We furthermore prove that the extra overhead imposed on writes by latency-optimal ROTs is inherent, i.e., it is not an artifact of the design we consider, and cannot be avoided by any implementation of latency-optimal ROTs. We show in particular that this overhead grows linearly with the number of clients.

  • Details
  • Metrics
Type
research article
DOI
10.14778/3236187.3236210
Web of Science ID

WOS:000452537300024

Author(s)
Didona, Diego  
Guerraoui, Rachid  
Wang, Jingjing  
Zwaenepoel, Willy  
Date Issued

2018-07-01

Publisher

ASSOC COMPUTING MACHINERY

Published in
Proceedings Of The Vldb Endowment
Volume

11

Issue

11

Start page

1618

End page

1632

Subjects

Computer Science, Information Systems

•

Computer Science

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LABOS  
DCL  
Available on Infoscience
December 21, 2018
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/153125
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés