抽象无序树和有序树CRDT
Abstract unordered and ordered trees CRDT
摘要:
树是计算机科学和系统工程许多领域的基础数据结构。在这份报告中,我们将展示如何确保乐观复制树的最终一致性。在乐观复制中,分布式系统的不同副本被允许发散,但如果没有更多的变化发生,最终应该达到相同的值。一种保证最终一致性的新方法是设计无冗余的复制数据类型(CRDT)。在这份报告中,我们设计了一个收集树CRDT使用现有的CRDT集。对于树型数据结构特有的并发问题,采用一层或两层的修正算法解决。对于每一层,我们提出了不同的和独立的政策。CRDT和策略的任意组合都可以被构造,从而在并发变化的情况下给予分布式应用程序员对共享数据的行为的完全控制。我们还建议通过添加一个定位层来排序这些树,该定位层也是独立的,以获得有序树CRDTs的集合。
英文摘要:
Trees are fundamental data structure for many areas of computer science and system engineering. In this report, we show how to ensure eventual consistency of optimistically replicated trees. In optimistic replication, the different replicas of a distributed system are allowed to diverge but should eventually reach the same value if no more mutations occur. A new method to ensure eventual consistency is to design Conflict-free Replicated Data Types (CRDT). In this report, we design a collection of tree CRDT using existing set CRDTs. The remaining concurrency problems particular to tree data structure are resolved using one or two layers of correction algorithm. For each of these layer, we propose different and independent policies. Any combination of set CRDT and policies can be constructed, giving to the distributed application programmer the entire control of the behavior of the shared data in face of concurrent mutations. We also propose to order these trees by adding a positioning layer which is also independent to obtain a collection of ordered tree CRDTs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。