基于NS3的Paxos、Raft和PBFT性能比较与分析

Siswandi Agung Hidayat, Wahyu Juniardi, A. Khatami, Riri Fitri Sari
{"title":"基于NS3的Paxos、Raft和PBFT性能比较与分析","authors":"Siswandi Agung Hidayat, Wahyu Juniardi, A. Khatami, Riri Fitri Sari","doi":"10.1109/IoTaIS56727.2022.9975938","DOIUrl":null,"url":null,"abstract":"In today’s technological developments, the need for a system to guarantee security, transparency, and transaction speed is the underlying point in creating new technologies. Blockchain is a digital data recording and storage technology that is interconnected between one device and another and cannot be changed by anyone due to the implementation of cryptography. The consensus algorithm is a mechanism used by computers and blockchain systems in approving the addition of new data. In Blockchain, no one authority oversees the activities where the entire system is made in a decentralized manner so that decision making, verification, and authentication are on the blockchain must involve all users in it. Therefore, the consensus is needed by the blockchain in forming an efficient, fair, reliable, and secure mechanism so that all parties involved in it can have a vote. In this paper, we evaluate the performance of several consensus algorithms, such as Paxos, Raft, and PBFT, by simulating the time to reach consensus using the NS3 network simulator. We chose Paxos because this algorithm is the forerunner of the consensus algorithm, while Raft and PBFT are algorithms that have evolved from Paxos, which are still widely implemented in blockchain technology until now. Finally, based on the evaluation results, it was found that the PBFT algorithm has a speed five times faster than Raft and six times faster than Paxos to reach consensus. So we consider the PBFT algorithm to have the best speed and scalability. We hope that this research can be used as a reference for implementing the consensus algorithm in the development of blockchain technology.","PeriodicalId":138894,"journal":{"name":"2022 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS)","volume":"7 5","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Performance Comparison and Analysis of Paxos, Raft and PBFT Using NS3\",\"authors\":\"Siswandi Agung Hidayat, Wahyu Juniardi, A. Khatami, Riri Fitri Sari\",\"doi\":\"10.1109/IoTaIS56727.2022.9975938\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In today’s technological developments, the need for a system to guarantee security, transparency, and transaction speed is the underlying point in creating new technologies. Blockchain is a digital data recording and storage technology that is interconnected between one device and another and cannot be changed by anyone due to the implementation of cryptography. The consensus algorithm is a mechanism used by computers and blockchain systems in approving the addition of new data. In Blockchain, no one authority oversees the activities where the entire system is made in a decentralized manner so that decision making, verification, and authentication are on the blockchain must involve all users in it. Therefore, the consensus is needed by the blockchain in forming an efficient, fair, reliable, and secure mechanism so that all parties involved in it can have a vote. In this paper, we evaluate the performance of several consensus algorithms, such as Paxos, Raft, and PBFT, by simulating the time to reach consensus using the NS3 network simulator. We chose Paxos because this algorithm is the forerunner of the consensus algorithm, while Raft and PBFT are algorithms that have evolved from Paxos, which are still widely implemented in blockchain technology until now. Finally, based on the evaluation results, it was found that the PBFT algorithm has a speed five times faster than Raft and six times faster than Paxos to reach consensus. So we consider the PBFT algorithm to have the best speed and scalability. We hope that this research can be used as a reference for implementing the consensus algorithm in the development of blockchain technology.\",\"PeriodicalId\":138894,\"journal\":{\"name\":\"2022 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS)\",\"volume\":\"7 5\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-11-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IoTaIS56727.2022.9975938\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IoTaIS56727.2022.9975938","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在今天的技术发展中,需要一个系统来保证安全性、透明度和交易速度,这是创造新技术的基本要点。区块链是一种数字数据记录和存储技术,它在一个设备和另一个设备之间相互连接,由于密码学的实施,任何人都无法改变。共识算法是计算机和区块链系统用于批准添加新数据的机制。在区块链中,没有一个权威机构监督整个系统以分散的方式进行的活动,因此区块链上的决策,验证和认证必须涉及所有用户。因此,区块链需要达成共识,形成一个高效、公平、可靠、安全的机制,让参与其中的各方都有投票权。在本文中,我们通过使用NS3网络模拟器模拟达成共识的时间来评估几种共识算法(如Paxos, Raft和PBFT)的性能。我们之所以选择Paxos,是因为该算法是共识算法的先驱,而Raft和PBFT是由Paxos进化而来的算法,至今仍在区块链技术中广泛应用。最后,根据评估结果,发现PBFT算法达成共识的速度比Raft快5倍,比Paxos快6倍。因此,我们认为PBFT算法具有最佳的速度和可扩展性。我们希望本研究可以作为在区块链技术发展中实现共识算法的参考。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Performance Comparison and Analysis of Paxos, Raft and PBFT Using NS3
In today’s technological developments, the need for a system to guarantee security, transparency, and transaction speed is the underlying point in creating new technologies. Blockchain is a digital data recording and storage technology that is interconnected between one device and another and cannot be changed by anyone due to the implementation of cryptography. The consensus algorithm is a mechanism used by computers and blockchain systems in approving the addition of new data. In Blockchain, no one authority oversees the activities where the entire system is made in a decentralized manner so that decision making, verification, and authentication are on the blockchain must involve all users in it. Therefore, the consensus is needed by the blockchain in forming an efficient, fair, reliable, and secure mechanism so that all parties involved in it can have a vote. In this paper, we evaluate the performance of several consensus algorithms, such as Paxos, Raft, and PBFT, by simulating the time to reach consensus using the NS3 network simulator. We chose Paxos because this algorithm is the forerunner of the consensus algorithm, while Raft and PBFT are algorithms that have evolved from Paxos, which are still widely implemented in blockchain technology until now. Finally, based on the evaluation results, it was found that the PBFT algorithm has a speed five times faster than Raft and six times faster than Paxos to reach consensus. So we consider the PBFT algorithm to have the best speed and scalability. We hope that this research can be used as a reference for implementing the consensus algorithm in the development of blockchain technology.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:481959085
Book学术官方微信