arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.22963cs.DC
收藏

ERA:用于群管理CRDT中对抗管理员的时序解析仲裁

ERA: Epoch-Resolved Arbitration for Duelling Admins in Group Management CRDTs

Element Creations Ltd(Element Creations有限公司)

Kegan Dougal

AI总结:

本文提出ERA方法,通过异步批次处理引入有限顺序,提升CRDT一致性。

摘要:

本文提出ERA方法,通过异步批次处理引入有限顺序,提升CRDT一致性。冲突自由的复制数据类型(CRDTs)因其无协调复制和强最终一致性而被应用于多个领域。在分区情况下,优先考虑可用性而非一致性,使对等节点以不同顺序积累事件,并依赖于一个结合性、交换性和幂等性的合并函数来呈现CRDT的物质视图。在某些情况下,物质视图随时间推移可能似乎'回滚'之前应用的事件。当物质视图用于管理群组权限,如即时通讯应用中常见的权限时,这可能导致意外行为。回滚可能发生在多个并发事件的情况下,例如在“对抗管理员”问题中,两个同等授权的管理员同时撤销彼此的权限。谁胜谁负?不同的解决方案及其权衡被探讨。一个拜占庭管理员可以利用并发性来影响对决,因此我们认为需要一个外部仲裁者来对并发事件进行排序。我们的ERA提案通过可选的''纪元事件''异步批量处理仲裁,保持可用性。这在每个纪元内引入了有界的总顺序,并导致''最终性'',从而优于CRDT所能提供的一致性水平。

英文摘要:

Conflict-Free Replicated Data Types (CRDTs) are used in a range of fields for their coordination-free replication with strong eventual consistency. By prioritising availability over consistency under partition, peers accumulate events in different orders, and rely on an associative, commutative and idempotent merge function to present a materialised view of the CRDT. Under some circumstances, the state of the materialised view over time can appear to ''roll back'' previously applied events. When the materialised view is used to manage group permissions such as ones found in instant messaging applications, this can lead to surprising behaviour. Rollbacks can occur when there are multiple concurrent events, such as in the Duelling Admins problem where two equally permissioned admins concurrently revoke each other's permissions. Who wins? Different solutions and their trade-offs are examined. A Byzantine admin can exploit concurrency to influence the duel, whereby we argue that an external arbiter is required to order concurrent events. Our ERA proposal arbitrates asynchronously in batches via optional ''epoch events'', preserving availability. This introduces a bounded total order within epochs, and the resulting ''finality'' improves on the level of consistency CRDTs can provide.

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

↑