基于状态的CRDT的高效同步
Efficient Synchronization of State-based CRDTs
摘要:
为了确保大规模分布式系统的高可用性,无冲突复制数据类型(CRDT)通过允许在本地副本上立即查询和更新操作而无需远程同步来放松一致性。基于状态的CRDT通过定期将副本的完整状态发送到其他副本来同步副本,随着CRDT状态的增长,这可能会变得非常昂贵。基于增量的CRDT通过产生用于同步的小增量状态(增量)而不是完整状态来解决这个问题。然而,目前的同步算法为基于增量的CRDT诱导冗余浪费增量传播,表现比预期的差,令人惊讶的是,没有比基于状态。在本文中,我们:1)找出当前基于增量的CRDT同步算法效率低下的两个原因; 2)将连接分解的概念引入到基于状态的CRDT中; 3)利用连接分解获得最优增量; 4)提高同步算法的效率; 5)评估改进后的算法。
英文摘要:
To ensure high availability in large scale distributed systems, Conflict-free Replicated Data Types (CRDTs) relax consistency by allowing immediate query and update operations at the local replica, with no need for remote synchronization. State-based CRDTs synchronize replicas by periodically sending their full state to other replicas, which can become extremely costly as the CRDT state grows. Delta-based CRDTs address this problem by producing small incremental states (deltas) to be used in synchronization instead of the full state. However, current synchronisation algorithms for Delta-based CRDTs induce redundant wasteful delta propagation, performing worse than expected, and surprisingly, no better than State-based. In this paper we: 1) identify two sources of inefficiency in current synchronization algorithms for delta-based CRDTs; 2) bring the concept of join decomposition to state-based CRDTs; 3) exploit join decompositions to obtain optimal deltas and 4) improve the efficiency of synchronization algorithms; and finally, 5) evaluate the improved algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。