arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.01529cs.DC
收藏

增量状态复制的数据类型

Delta State Replicated Data Types

Paulo Sérgio Almeida, Ali Shoker, Carlos Baquero

摘要:

CRDT是分布式数据类型,它使分布式对象的最终一致性成为可能,并且是非自组织的。具体而言,基于状态的CRDT通过传播可能很大的整个状态并将其合并到其他副本来确保收敛;而基于操作的CRDT传播操作(即,小的状态),假设恰好一次可靠的传播层。我们介绍三角洲无故障复制数据类型($δ$ -CRDTs),可以实现两全其美:小消息与增量性质,在基于操作的CRDTs,通过不可靠的通信渠道传播,在传统的基于状态的CRDTs。这是通过定义增量变更器来返回增量状态来实现的,通常具有比完整状态小得多的大小,该增量状态将与本地和远程状态结合。我们介绍了$δ$ -CRDT框架,我们解释它通过建立一个对应于当前基于状态的CRDT。此外,我们提出了一个反熵算法的最终收敛,另一个,确保因果一致性。最后,我们介绍了几个$δ$ -CRDT规范的知名的复制数据库和新的数据库,包括一个通用的地图组成。

英文摘要:

CRDTs are distributed data types that make eventual consistency of a distributed object possible and non ad-hoc. Specifically, state-based CRDTs ensure convergence through disseminating the entire state, that may be large, and merging it to other replicas; whereas operation-based CRDTs disseminate operations (i.e., small states) assuming an exactly-once reliable dissemination layer. We introduce Delta State Conflict-Free Replicated Data Types ($δ$-CRDTs) that can achieve the best of both worlds: small messages with an incremental nature, as in operation-based CRDTs, disseminated over unreliable communication channels, as in traditional state-based CRDTs. This is achieved by defining delta mutators to return a delta-state, typically with a much smaller size than the full state, that to be joined with both local and remote states. We introduce the $δ$-CRDT framework, and we explain it through establishing a correspondence to current state-based CRDTs. In addition, we present an anti-entropy algorithm for eventual convergence, and another one that ensures causal consistency. Finally, we introduce several $δ$-CRDT specifications of both well-known replicated datatypes and novel datatypes, including a generic map composition.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑