Making geo-replicated systems fast as possible, consistent when necessary

  • Authors:
  • Cheng Li;Daniel Porto;Allen Clement;Johannes Gehrke;Nuno Preguiça;Rodrigo Rodrigues

  • Affiliations:
  • Max Planck Institute for Software Systems;CITI, DI, FCT, Universidade Nova de Lisboa and Max Planck Institute for Software Systems;Max Planck Institute for Software Systems;Cornell University;CITI, DI, FCT, Universidade Nova de Lisboa;CITI, DI, FCT, Universidade Nova de Lisboa

  • Venue:
  • OSDI'12 Proceedings of the 10th USENIX conference on Operating Systems Design and Implementation
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Online services distribute and replicate state across geographically diverse data centers and direct user requests to the closest or least loaded site. While effectively ensuring low latency responses, this approach is at odds with maintaining cross-site consistency. We make three contributions to address this tension. First, we propose RedBlue consistency, which enables blue operations to be fast (and eventually consistent) while the remaining red operations are strongly consistent (and slow). Second, to make use of fast operation whenever possible and only resort to strong consistency when needed, we identify conditions delineating when operations can be blue and must be red. Third, we introduce a method that increases the space of potential blue operations by breaking them into separate generator and shadow phases. We built a coordination infrastructure called Gemini that offers RedBlue consistency, and we report on our experience modifying the TPC-W and RUBiS benchmarks and an online social network to use Gemini. Our experimental results show that RedBlue consistency provides substantial performance gains without sacrificing consistency.