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

私有链中毫秒级共识的领导者确认复制

Leader Confirmation Replication for Millisecond Consensus in Private Chains

Dongjie Zhu, Haiwen Du, Yundong Sun, Zhaoshuo Tian

摘要:

基于私有链的物联网(IoT)系统确保了跨组织数据共享的安全性。作为私有链中广泛使用的共识模型,基于领导者的状态机复制(SMR)模型在物联网区块链应用中遇到了性能瓶颈,其中大规模生成非事务性传感器数据。我们分析了物联网私有链系统,发现由于高延迟和客户端请求频率,领导者保持了太多的连接,这导致共识性能和效率较低。为了应对这一挑战,我们提出了一种新的解决方案,以保持低的请求延迟和高的每秒事务(TPS):复制非事务性数据的追随者和确认的领导者,以实现非冲突SMR,而不是所有的领导者。我们的解决方案,命名为领导者确认复制(LCR),使用新提出的未来日志和确认信号,以实现非事务性数据复制的追随者,从而减少领导者的网络流量和请求延迟的事务性数据。此外,设计了生成复制策略,以保证LCR在满足成员变化时的可靠性和一致性。我们评估了LCR与不同的集群大小和网络延迟。实验结果表明,在ms网络延迟(2-30)的环境下,LCR的TPS比Raft高1.4 - 1.9倍,事务数据响应时间减少40%-60%,网络流量减少20%-30%,而从站的网络流量和CPU开销可以接受。此外,LCR显示了高可移植性和可用性,因为它不改变领导人的数量或选举过程。

英文摘要:

The private chain-based Internet of Things (IoT) system ensures the security of cross-organizational data sharing. As a widely used consensus model in private chains, the leader-based state-machine replication (SMR) model meets the performance bottleneck in IoT blockchain applications, where nontransactional sensor data are generated on a scale. We analyzed IoT private chain systems and found that the leader maintains too many connections due to high latency and client request frequency, which results in lower consensus performance and efficiency. To meet this challenge, we propose a novel solution for maintaining low request latency and high transactions per second (TPS): replicate nontransactional data by followers and confirm by the leader to achieve nonconfliction SMR, rather than all by the leader. Our solution, named Leader Confirmation Replication (LCR), uses the newly proposed future log and confirmation signal to achieve nontransactional data replication on the followers, thereby reducing the leader's network traffic and the request latency of transactional data. In addition, the generation replication strategy is designed to ensure the reliability and consistency of LCR when meeting membership changes. We evaluated LCR with various cluster sizes and network latencies. Experimental results show that in ms-network latency (2-30) environments, the TPS of LCR is 1.4X-1.9X higher than Raft, the transactional data response time is reduced by 40%-60%, and the network traffic is reduced by 20%-30% with acceptable network traffic and CPU cost on the followers. In addition, LCR shows high portability and availability since it does not change the number of leaders or the election process.

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

↑