Leader Confirmation Replication for Millisecond Consensus in Private Chains
【Author】 Du, Haiwen; Zhu, Dongjie; Sun, Yundong; Tian, Zhaoshuo
【Source】IEEE INTERNET OF THINGS JOURNAL
【影响因子】10.238
【Abstract】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. The 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.
【Keywords】Protocols; Data models; Internet of Things; Load modeling; Analytical models; Voting; Security; Confirmation replication; consensus model; private chain; Raft; state-machine replication (SMR)
【发表时间】2022 JUN 1
【收录时间】2022-06-15
【文献类型】实证性文章
【主题类别】
区块链技术-核心技术-共识机制
评论