Consistency, Availability, and Geo-Replicated Storage

For the past few years, we’ve been working on problems related to geo-replicated storage. We want to store data “in the cloud,” but that data should reside within multiple datacenters, not just in a single one.  When data is geographically replicated in such a fashion:

  • Users can experience lower latency by accessing a datacenter near to them, rather than one halfway around the world.
  • Network or system failures at a single datacenter doesn’t make the service unavailable  (even for data stored at that site).

This is common practice today.  Google runs multiple datacenters around the world, and Amazon Web Services offers multiple “Availability Zones” that are supposed to fail independently.

When data is replicated between locations, an important question arises about the consistency model such a system exposes.  Wyatt Lloyd has been tackling this question in his recent COPS and Eiger systems.  The  problem space this work explores — between giving up on any consistency guarantees one can reason about and just going with “eventual” consistency on one extreme, and giving up on availability guarantees to gain strong consistency and real transactions on the other — is going to be an increasingly important one.

Normally, folks think that the CAP Theorem tells us these two choices are fundamental.  But the key point is that CAP doesn’t tell us that eventual consistency is required, just that (as Partitions can happen) one can’t have both Availability and Strong Consistency (or more formally, linearizability).  It doesn’t tell us anything about consistency models that are weaker than linearizability yet stronger than “eventual.”  And that’s where COPS and Eiger come in.

One of our collaborators at CMU, Dave Andersen, recently wrote-up a more accessible discussion of these systems, and the causally-consistent data model they expose.   With the explosion of new data storage systems, particularly of the NoSQL variety, it’s important for folks to realize that there’s a (powerful and practical) choice between these two extremes.

Caring about Causality – now in Cassandra

Over the past few years, we’ve spent a bunch of time thinking about and designing scalable systems that provide causally-consistent wide-area replication.  (Here, “we” means the team of Wyatt Lloyd, Michael Freedman, Michael Kaminsky, and myself;  but if you know academia, you wouldn’t be surprised that about 90% of the project was accomplished by Wyatt, who’s a graduating Ph.D. student at the time of this writing.)  I’m posting this because we’ve finally entered the realm of the practical, with the release of both the paper (to appear at NSDI’13) and code for our new implementation of causally-consistent replication (we call it Eiger) within the popular Cassandra key-value store.

Read Dave’s full post here.

  • Mohammad Victory

    sounds amazing.
    نرخ لحظه ای قیمت دلار- نرخ ارز- تغییرات قیمت ارز در سایت صرافی رویال
    دلار

  • Mohammad Victory
  • Mohammad Victory

    شرایط تحصیل در کشور استرالیا- و سیدنی -بورسیه تحصیلی دانشگاه های استرالیا
    تحصیل در استرالیا

  • Mohammad Victory

    ویزای شینگن تضمینی در کوتاه ترین زمان ممکن
    ویزای شینگن

  • Mohammad Victory

    مدارک درخواست شنگن اروپا آلمان
    ویزای شینگن
    شرایط دریافت ویزای شینگن اروپا

  • Mohammad Afshar
  • college file
  • google
  • nilper
  • carry sario

    This Walmartone owns and operates one of the largest retail store, departmental discount store and grocery store in the USA not only us it operates all over the world.
    WalmartOne

  • saate arzan
  • meet bhatt

    uidai provides email helpline at help@uidai.gov.in

  • Thanks for website.
    دانلود آهنگ ایوان بند
    ایوان بند

  • دانلود موزیک جدید
    music

  • Anamika Panday

    For excellent grades take help from Top Assignment Help and professionals will help with best work and submit assignments on time.

  • سایت تم کده یکی از زیر مجموعه های وبدونی مارکت می باشد که در زمینه انواع قالب های آماده سایت فعالیت می کند. در این بخش از مقالات جامعه وبدونی به معرفی و بررسی این سرویس میپردازیم. جهت آشنایی بیشتر با خدمات و قابلیت های بی نظیر تم کده تا انتهای این مقاله با ما باشید.

    معرفی سایت تم کده مرجع قالب سایت
    یکی از مهم ترین مواردی که هر سایتی به آن احتیاج دارد قالب سایت است. هر سایتی یک قالب و چهار چوب خاصی دارید که به اون پوسته , تم و قالب گفته میشه. در وب سایت تم کده شما می توانید برای انواع سیستم های آماده و اختصاصی قالب های متنوعی رو پیدا کنید.
    برای مشاهده قالب وردپرس به این بخش مراجعه کنید

  • I like the way you expressed this article with informative points that are really helpful, thanks for sharing this post.

    Stock Cash Trading Tips