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

为P2P网络构建可验证的逻辑时钟

Building a Verifiable Logical Clock for P2P Networks

Guangda Sun, Tianyang Tao, Yanpei Guo, Michael Yiqing Hu, Jialin Li

AI总结:

针对现有逻辑时钟无法适配含拜占庭节点的开放P2P网络的问题,研究提出新型逻辑时钟系统Chrono,通过自定义验证器抽象实现容错,在两类去中心化应用中以极低开销实现优于现有BFT全序协议的性能。

摘要:

逻辑时钟是分布式系统中确立事件因果顺序的基础工具,已被应用于弱一致性存储系统、因果有序广播、分布式快照、死锁检测以及分布式系统调试等场景。但现有逻辑时钟构造无法在存在拜占庭参与者的开放网络中正常工作。\n本研究提出了Chrono——一种面向这一挑战性环境的新型逻辑时钟系统。我们首先在拜占庭故障模型下重新定义了分布式进程间的因果性属性。为保障这些属性,Chrono定义了一种用于构建容错逻辑时钟的新型验证器抽象。此外,该验证器抽象支持自定义:Chrono包含多种该抽象的后端实现,各自具备不同的安全与性能权衡。\n我们已将Chrono用于构建两类去中心化应用:互斥服务与弱一致性键值存储。与不具备拜占庭容错能力的系统相比,Chrono仅增加了边际开销;其性能也显著优于当前最先进的BFT全序协议。

英文摘要:

Logical clocks are a fundamental tool to establish causal ordering of events in a distributed system. They have been applied in weakly consistent storage systems, causally ordered broadcast, distributed snapshots, deadlock detection, and distributed system debugging. However, prior logical clock constructs fail to work in an open network with Byzantine participants. In this work, we present Chrono, a novel logical clock system that targets such challenging environment. We first redefine causality properties among distributed processes under the Byzantine failure model. To enforce these properties, Chrono defines a new validator abstraction for building fault-tolerant logical clocks. Furthermore, our validator abstraction is customizable: Chrono includes multiple backend implementations for the abstraction, each with different security-performance trade-offs. We have applied Chrono to build two decentralized applications, a mutual exclusive service and a weakly consistent key-value store. Chrono adds only marginal overhead compared to systems that tolerate no Byzantine faults. It also out-performs state-of-the-art BFT total order protocols by significant margins.

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

↑