边缘上的哈希图:在分散的P2P框架中实现拜占庭容错

IF 3.6 3区 计算机科学 Q2 COMPUTER SCIENCE, INFORMATION SYSTEMS
Wanli Zhao;Satoshi Fujita
{"title":"边缘上的哈希图:在分散的P2P框架中实现拜占庭容错","authors":"Wanli Zhao;Satoshi Fujita","doi":"10.1109/ACCESS.2025.3604512","DOIUrl":null,"url":null,"abstract":"This paper explores the integration of the Hashgraph consensus protocol into two widely used peer-to-peer (P2P) communication frameworks: Secure Scuttlebutt (SSB) and libp2p. SSB operates within a local-first architecture, prioritizing offline-first data synchronization through append-only logs and gossip-based replication, while libp2p employs a modular, pub-sub-driven approach to facilitate real-time message dissemination across decentralized networks. We propose a dual integration approach, embedding an asynchronous Byzantine fault-tolerant (aBFT) layer into both frameworks to evaluate their complementary strengths in diverse networking scenarios. This dual-path strategy allows us to investigate how Hashgraph’s aBFT properties interact with fundamentally different P2P architectures—append-only, local-first versus modular, pub-sub—thus offering a broader understanding of its applicability. Our goal is to enhance their ability to achieve a globally consistent state despite the challenges of intermittent connectivity and network partitions. To assess the feasibility and performance implications of this integration, we conduct a series of controlled experiments using Docker-based network simulations. Our evaluation focuses on key trade-offs involving consistency, latency, and bandwidth utilization. The results show that SSB+Hashgraph achieves strong eventual consistency, ensuring robust data integrity even under adversarial conditions. However, this comes at the cost of increased message propagation latency, due to the bulk gossip overhead inherent in SSB’s replication model. In contrast, libp2p+Hashgraph enables significantly faster message propagation through its pub-sub mechanism, but incurs higher bandwidth consumption as more frequent state updates are required to maintain consensus. Notably, our experiments confirm that the proposed approach successfully maintains consensus even in the presence of up to 25% malicious nodes, highlighting its resilience and strong Byzantine fault tolerance. These findings demonstrate the practical viability of combining gossip-based data replication with aBFT consensus to improve the reliability and scalability of decentralized applications. Moreover, our study offers valuable insights into the trade-offs involved in designing resilient P2P communication systems capable of operating efficiently across heterogeneous network environments.","PeriodicalId":13079,"journal":{"name":"IEEE Access","volume":"13 ","pages":"153035-153055"},"PeriodicalIF":3.6000,"publicationDate":"2025-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11145446","citationCount":"0","resultStr":"{\"title\":\"Hashgraph Over the Edge: Achieving Byzantine Fault Tolerance in Decentralized P2P Frameworks\",\"authors\":\"Wanli Zhao;Satoshi Fujita\",\"doi\":\"10.1109/ACCESS.2025.3604512\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper explores the integration of the Hashgraph consensus protocol into two widely used peer-to-peer (P2P) communication frameworks: Secure Scuttlebutt (SSB) and libp2p. SSB operates within a local-first architecture, prioritizing offline-first data synchronization through append-only logs and gossip-based replication, while libp2p employs a modular, pub-sub-driven approach to facilitate real-time message dissemination across decentralized networks. We propose a dual integration approach, embedding an asynchronous Byzantine fault-tolerant (aBFT) layer into both frameworks to evaluate their complementary strengths in diverse networking scenarios. This dual-path strategy allows us to investigate how Hashgraph’s aBFT properties interact with fundamentally different P2P architectures—append-only, local-first versus modular, pub-sub—thus offering a broader understanding of its applicability. Our goal is to enhance their ability to achieve a globally consistent state despite the challenges of intermittent connectivity and network partitions. To assess the feasibility and performance implications of this integration, we conduct a series of controlled experiments using Docker-based network simulations. Our evaluation focuses on key trade-offs involving consistency, latency, and bandwidth utilization. The results show that SSB+Hashgraph achieves strong eventual consistency, ensuring robust data integrity even under adversarial conditions. However, this comes at the cost of increased message propagation latency, due to the bulk gossip overhead inherent in SSB’s replication model. In contrast, libp2p+Hashgraph enables significantly faster message propagation through its pub-sub mechanism, but incurs higher bandwidth consumption as more frequent state updates are required to maintain consensus. Notably, our experiments confirm that the proposed approach successfully maintains consensus even in the presence of up to 25% malicious nodes, highlighting its resilience and strong Byzantine fault tolerance. These findings demonstrate the practical viability of combining gossip-based data replication with aBFT consensus to improve the reliability and scalability of decentralized applications. Moreover, our study offers valuable insights into the trade-offs involved in designing resilient P2P communication systems capable of operating efficiently across heterogeneous network environments.\",\"PeriodicalId\":13079,\"journal\":{\"name\":\"IEEE Access\",\"volume\":\"13 \",\"pages\":\"153035-153055\"},\"PeriodicalIF\":3.6000,\"publicationDate\":\"2025-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11145446\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Access\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/11145446/\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Access","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11145446/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

摘要

本文探讨了将哈希图共识协议集成到两个广泛使用的点对点(P2P)通信框架中:Secure sccuttlebutt (SSB)和libp2p。SSB在本地优先架构中运行,通过仅附加日志和基于八卦的复制来优先考虑离线优先的数据同步,而libp2p采用模块化的、pub-sub驱动的方法来促进分散网络之间的实时消息传播。我们提出了一种双重集成方法,将异步拜占庭容错(aBFT)层嵌入到两个框架中,以评估它们在不同网络场景下的互补优势。这种双路径策略使我们能够研究Hashgraph的aBFT属性如何与根本不同的P2P架构(仅追加、本地优先与模块化、发布-sub)交互,从而对其适用性有更广泛的理解。我们的目标是增强它们实现全局一致状态的能力,尽管存在间歇性连接和网络分区的挑战。为了评估这种集成的可行性和性能影响,我们使用基于docker的网络模拟进行了一系列对照实验。我们的评估侧重于一致性、延迟和带宽利用率的关键权衡。结果表明,SSB+哈希图实现了强大的最终一致性,即使在对抗条件下也能确保数据的鲁棒完整性。然而,这是以增加消息传播延迟为代价的,这是由于SSB复制模型中固有的批量八卦开销。相比之下,libp2p+Hashgraph通过其pub-sub机制使消息传播速度明显加快,但由于需要更频繁的状态更新来保持共识,因此会导致更高的带宽消耗。值得注意的是,我们的实验证实,即使存在高达25%的恶意节点,所提出的方法也能成功地保持共识,突出了其弹性和强大的拜占庭容错性。这些发现证明了将基于流言的数据复制与aBFT共识相结合以提高分散应用程序的可靠性和可扩展性的实际可行性。此外,我们的研究为设计能够在异构网络环境中高效运行的弹性P2P通信系统所涉及的权衡提供了有价值的见解。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Hashgraph Over the Edge: Achieving Byzantine Fault Tolerance in Decentralized P2P Frameworks
This paper explores the integration of the Hashgraph consensus protocol into two widely used peer-to-peer (P2P) communication frameworks: Secure Scuttlebutt (SSB) and libp2p. SSB operates within a local-first architecture, prioritizing offline-first data synchronization through append-only logs and gossip-based replication, while libp2p employs a modular, pub-sub-driven approach to facilitate real-time message dissemination across decentralized networks. We propose a dual integration approach, embedding an asynchronous Byzantine fault-tolerant (aBFT) layer into both frameworks to evaluate their complementary strengths in diverse networking scenarios. This dual-path strategy allows us to investigate how Hashgraph’s aBFT properties interact with fundamentally different P2P architectures—append-only, local-first versus modular, pub-sub—thus offering a broader understanding of its applicability. Our goal is to enhance their ability to achieve a globally consistent state despite the challenges of intermittent connectivity and network partitions. To assess the feasibility and performance implications of this integration, we conduct a series of controlled experiments using Docker-based network simulations. Our evaluation focuses on key trade-offs involving consistency, latency, and bandwidth utilization. The results show that SSB+Hashgraph achieves strong eventual consistency, ensuring robust data integrity even under adversarial conditions. However, this comes at the cost of increased message propagation latency, due to the bulk gossip overhead inherent in SSB’s replication model. In contrast, libp2p+Hashgraph enables significantly faster message propagation through its pub-sub mechanism, but incurs higher bandwidth consumption as more frequent state updates are required to maintain consensus. Notably, our experiments confirm that the proposed approach successfully maintains consensus even in the presence of up to 25% malicious nodes, highlighting its resilience and strong Byzantine fault tolerance. These findings demonstrate the practical viability of combining gossip-based data replication with aBFT consensus to improve the reliability and scalability of decentralized applications. Moreover, our study offers valuable insights into the trade-offs involved in designing resilient P2P communication systems capable of operating efficiently across heterogeneous network environments.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
IEEE Access
IEEE Access COMPUTER SCIENCE, INFORMATION SYSTEMSENGIN-ENGINEERING, ELECTRICAL & ELECTRONIC
CiteScore
9.80
自引率
7.70%
发文量
6673
审稿时长
6 weeks
期刊介绍: IEEE Access® is a multidisciplinary, open access (OA), applications-oriented, all-electronic archival journal that continuously presents the results of original research or development across all of IEEE''s fields of interest. IEEE Access will publish articles that are of high interest to readers, original, technically correct, and clearly presented. Supported by author publication charges (APC), its hallmarks are a rapid peer review and publication process with open access to all readers. Unlike IEEE''s traditional Transactions or Journals, reviews are "binary", in that reviewers will either Accept or Reject an article in the form it is submitted in order to achieve rapid turnaround. Especially encouraged are submissions on: Multidisciplinary topics, or applications-oriented articles and negative results that do not fit within the scope of IEEE''s traditional journals. Practical articles discussing new experiments or measurement techniques, interesting solutions to engineering. Development of new or improved fabrication or manufacturing techniques. Reviews or survey articles of new or evolving fields oriented to assist others in understanding the new area.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信