[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2596631.2596634acmconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
research-article

Efficient state-based CRDTs by decomposition

Published: 13 April 2014 Publication History

Abstract

Eventual consistency is a relaxed consistency model used in large-scale distributed systems that seek better availability when consistency can be delayed. CRDTs are distributed data types that make eventual consistency of a distributed object possible and non ad-hoc. Specifically, state-based CRDTs achieve this through shipping the entire replica state that is, eventually, merged to other replicas ensuring convergence. This imposes a large communication overhead when the replica size or the number of replicas gets larger. In this work, we introduce a decomposable version of state-based CRDTs, called Delta State-based CRDTs (δ-CRDT). A δ-CRDT is viewed as a join of multiple fine-grained CRDTs of the same type, called deltas (δ). The deltas are produced by applying δ-mutators, on a replica state, which are modified versions of the original CRDT mutators. This makes it possible to ship small deltas (or batches) instead of shipping the entire state. The challenges are to make the join of deltas equivalent to the join of the entire object in classical state-based CRDTs, and to find a way to derive the δ-mutators. We address this challenge in this work, and we explore the minimal requirements that a communication algorithm must offer according to the guarantees provided by the underlying messaging middleware.

References

[1]
P. Bailis and A. Ghodsi. Eventual consistency today: Limitations, extensions, and beyond. Queue, 11(3):20:20--20:32, Mar. 2013.
[2]
C. Baquero and F. Moura. Using structural characteristics for autonomous operation. Operating Systems Review, 33(4):90--96, 1999.
[3]
A. Bieniusa, M. Zawirski, N. Preguiça, M. Shapiro, C. Baquero, V. Balegas, and S. Duarte. An optimized conflict-free replicated set. Rapp. Rech. RR-8083, Institut National de la Recherche en Informatique et Automatique (INRIA), Rocquencourt, France, Oct. 2012.
[4]
S. Burckhardt, A. Gotsman, H. Yang, and M. Zawirski. Replicated data types: specification, verification, optimality. In S. Jagannathan and P. Sewell, editors, POPL, pages 271--284. ACM, 2014.
[5]
S. Cribbs and R. Brown. Data structures in Riak. In Riak Conference (RICON), San Francisco, CA, USA, oct 2012.
[6]
G. DeCandia, D. Hastorun, M. Jampani, G. Kakulapati, A. Lakshman, A. Pilchin, S. Sivasubramanian, P. Vosshall, and W. Vogels. Dynamo: Amazon's highly available key-value store. In Symp. on Op. Sys. Principles (SOSP), volume 41 of Operating Systems Review, pages 205--220, Stevenson, Washington, USA, Oct. 2007. Assoc. for Computing Machinery.
[7]
S. Gilbert and N. Lynch. Brewer's conjecture and the feasibility of consistent, available, partition-tolerant web services. SIGACT News, 33(2):51--59, 2002.
[8]
M. Letia, N. Preguiça, and M. Shapiro. CRDTs: Consistency without concurrency control. Rapp. Rech. RR-6956, Institut National de la Recherche en Informatique et Automatique (INRIA), Rocquencourt, France, June 2009.
[9]
M. Shapiro, N. Preguiça, C. Baquero, and M. Zawirski. A comprehensive study of Convergent and Commutative Replicated Data Types. Rapp. Rech. 7506, Institut National de la Recherche en Informatique et Automatique (INRIA), Rocquencourt, France, Jan. 2011.
[10]
M. Shapiro, N. Preguiça, C. Baquero, and M. Zawirski. Conflict-free replicated data types. In X. Défago, F. Petit, and V. Villain, editors, Int. Symp. on Stabilization, Safety, and Security of Distributed Systems (SSS), volume 6976 of Lecture Notes in Comp. Sc., pages 386--400, Grenoble, France, Oct. 2011. Springer-Verlag.
[11]
D. B. Terry, M. M. Theimer, K. Petersen, A. J. Demers, M. J. Spreitzer, and C. H. Hauser. Managing update conflicts in Bayou, a weakly connected replicated storage system. In Symp. on Op. Sys. Principles (SOSP), pages 172--182, Copper Mountain, CO, USA, Dec. 1995. ACM SIGOPS, ACM Press.
[12]
W. Vogels. Eventually consistent. ACM Queue, 6(6):14--19, Oct. 2008.

Cited By

View all
  • (2016)Dynamic adaptation of geo-replicated CRDTsProceedings of the 31st Annual ACM Symposium on Applied Computing10.1145/2851613.2851641(514-521)Online publication date: 4-Apr-2016
  • (2015)LaspProceedings of the 17th International Symposium on Principles and Practice of Declarative Programming10.1145/2790449.2790525(184-195)Online publication date: 14-Jul-2015
  • (2015)Collaborative offline web applications using conflict-free replicated data typesProceedings of the First Workshop on Principles and Practice of Consistency for Distributed Data10.1145/2745947.2745952(1-4)Online publication date: 21-Apr-2015

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
PaPEC '14: Proceedings of the First Workshop on Principles and Practice of Eventual Consistency
April 2014
47 pages
ISBN:9781450327169
DOI:10.1145/2596631
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 13 April 2014

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Funding Sources

  • Seventh Framework Programme
  • North Portugal Regional Operational Program under National Strategic Reference Framework (NSRF), through European Regional Development Fund (ERDF)

Conference

EuroSys 2014
Sponsor:
EuroSys 2014: Ninth Eurosys Conference 2014
April 13, 2014
Amsterdam, The Netherlands

Acceptance Rates

PaPEC '14 Paper Acceptance Rate 16 of 20 submissions, 80%;
Overall Acceptance Rate 16 of 20 submissions, 80%

Upcoming Conference

EuroSys '25
Twentieth European Conference on Computer Systems
March 30 - April 3, 2025
Rotterdam , Netherlands

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)7
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2016)Dynamic adaptation of geo-replicated CRDTsProceedings of the 31st Annual ACM Symposium on Applied Computing10.1145/2851613.2851641(514-521)Online publication date: 4-Apr-2016
  • (2015)LaspProceedings of the 17th International Symposium on Principles and Practice of Declarative Programming10.1145/2790449.2790525(184-195)Online publication date: 14-Jul-2015
  • (2015)Collaborative offline web applications using conflict-free replicated data typesProceedings of the First Workshop on Principles and Practice of Consistency for Distributed Data10.1145/2745947.2745952(1-4)Online publication date: 21-Apr-2015

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media