Efficient state-based CRDTs by decomposition

PaPEC '14 Pub Date : 2014-04-13 DOI:10.1145/2596631.2596634
Paulo Sérgio Almeida, Ali Shoker, Carlos Baquero
{"title":"Efficient state-based CRDTs by decomposition","authors":"Paulo Sérgio Almeida, Ali Shoker, Carlos Baquero","doi":"10.1145/2596631.2596634","DOIUrl":null,"url":null,"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.","PeriodicalId":354287,"journal":{"name":"PaPEC '14","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-04-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"PaPEC '14","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2596631.2596634","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

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.
基于分解的高效状态crdt
最终一致性是一种宽松的一致性模型,用于大规模分布式系统,在一致性可以延迟的情况下寻求更好的可用性。crdt是分布式数据类型,它使分布式对象的最终一致性成为可能,而且是非临时的。具体地说,基于状态的crdt通过传递整个副本状态来实现这一点,最终合并到其他副本以确保收敛。当副本大小或副本数量变大时,这会带来很大的通信开销。在这项工作中,我们介绍了基于状态的crdt的可分解版本,称为Delta基于状态的crdt (Δ-CRDT)。Δ-CRDT被视为多个细粒度的相同类型的crdt的连接,称为delta (Δ)。增量是通过在复制状态上应用Δ-mutators产生的,复制状态是原始CRDT突变子的修改版本。这使得运送小的三角洲(或批次)而不是运送整个州成为可能。在经典的基于状态的crdt中,挑战在于使delta的连接等同于整个对象的连接,并找到一种推导Δ-mutators的方法。我们将在本工作中解决这一挑战,并根据底层消息传递中间件提供的保证探索通信算法必须提供的最低要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信