Skip to main content
Log in

An experimental study on performance of private blockchain in IoT applications

  • Published:
Peer-to-Peer Networking and Applications Aims and scope Submit manuscript

Abstract

Blockchain includes distributed records that are immutable and transparent through replicating among public or private networks. The open-source Ethereum is one of the emerging blockchain platforms featuring smart contracts. The private Ethereum has been obtaining interest due to its applicability in various applications, including the Internet of Things (IoT). Hence, understanding and quantifying blockchain performance is crucial to facilitate the blockchain application. In this paper, assuming IoT scenarios, we conduct an experimental study to investigate various performance parameters of private Ethereum networks. Initially, we clarify the latency processes according to the transaction lifecycle (i.e., transaction-oriented and block-oriented latency) and measure them in different deployments. Then, we track and report the performance of blockchain nodes during the processes of utilizing transaction. Our deployment networks include an indoor IoT blockchain network (i.e., with a laptop and several Raspberry Pi 3b+ (RPI 3b+)) and a private blockchain over the cloud. In both cases, we write and deploy a smart contract to read and write data to the blockchain and measure the performance in various scenarios. The experiment results reveal not only the blockchain node’s performance but also the latencies-hop correlation, as well as the latencies’ relation in different workloads. Notably, the latency values in the cloud deployment latency strongly depend on Round Trip Time (RTT) between the blockchain nodes.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Notes

  1. https://github.com/ethereum/leveldb

  2. https://linux.die.net/man/1/df

  3. https://ethereum.org/en/developers/docs/evm/

  4. https://linux.die.net/man/1/free

  5. IP address: 133.243.238.243

  6. https://web3py.readthedocs.io/en/stable/

  7. https://docs.web3j.io/

References

  1. Ali D, KS S, Raja J (2016) Blockchain in internet of things: challenges and solutions. arXiv:160805187

  2. Ali D, KS S, Raja J, Praveen G (2017) Blockchain for iot security and privacy: the case study of a smart home. In: IEEE international conference on pervasive computing and communications workshops. IEEE, pp 618–623

  3. Ali O, Jaradat A, Kulakli A, Abuhalimeh A (2021) A comparative study: blockchain technology utilization benefits, challenges and functionalities. IEEE Access 9:12,730–12,749

    Article  Google Scholar 

  4. Anh DTT, Ji W, Gang C, Rui L, Chin OB, Lee TK (2017) Blockbench: a framework for analyzing private blockchains. In: Proc. ACM international conference on management of data, pp 1085–1100

  5. Atlam HF, Alenezi A, Alassafi MO, Wills G (2018) Blockchain with internet of things: benefits, challenges, and future directions. International Journal of Intelligent Systems and Applications 10(6):40–48

    Article  Google Scholar 

  6. Chen X, Nguyen K, Sekiya H (2020) Characterizing latency performance in private blockchain network. In: International conference on mobile networks and management. Springer, pp 238–255

  7. Christian D, Roger W (2013) Information propagation in the bitcoin network. In: Proc. IEEE P2P 2013, pp 1–10

  8. Ethereum Devp2p https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ethereum_devp2p&d=DwIGaQ&c=vh6FgFnduejNhPPD0fl_yRaSfZy8CWbWnIf4XJhSqx8&r = 8IEA8RSOvQ9oXtWAG1eT2mTMD_NJ-ANv3H9feUw_xMw&m=cGA8VFmG65hQ_4fSZEBNK42nE5WuDzD36r9U-poJdu0&s=TWhUlf32mvkIKhH937nE0mpE9Id9IYFCqLPDr9wUbvA&e= (Access date: 2021 Mar.)

  9. Ethereum geth client https://urldefense.proofpoint.com/v2/url?u=https-3A_geth.ethereum.org_&d=DwIGaQ&c=vh6FgFnduejNhPPD0fl_yRaSfZy8CWbWnIf4XJhSqx8&r = 8IEA8RSOvQ9oXtWAG1eT2mTMD_NJ-ANv3H9feUw_xMw&m=cGA8VFmG65hQ_4fSZEBNK42nE5WuDzD36r9U-poJdu0&s=Ji3dWNInBj-S6VVIi9XshyZoxIuEvdTAmZG-gL5DvgU&e= (Access date: 2021 Mar.)

  10. Ethereum javascript api https://urldefense.proofpoint.com/v2/url?u=https-3A__web3js.readthedocs.io_en_v1.3.0_&d=DwIGaQ&c=vh6FgFnduejNhPPD0fl_yRaSfZy8CWbWnIf4XJhSqx8&r = 8IEA8RSOvQ9oXtWAG1eT2mTMD_NJ-ANv3H9feUw_xMw&m=cGA8VFmG65hQ_4fSZEBNK42nE5WuDzD36r9U-poJdu0&s=Yg6adc0aKjdcutz0r4sG2yywM_L1EsTNRnCaSNCSnLw&e= (Access date: 2021 Mar.)

  11. Gavin W (2014) Ethereum: a secure decentralised generalised transaction ledger. Ethereum project yellow paper 151(2014):1–32

    Google Scholar 

  12. Google Leveldb https://urldefense.proofpoint.com/v2/url?u=https-3A_github.com_google_leveldb&d=DwIGaQ&c=vh6FgFnduejNhPPD0fl_yRaSfZy8CWbWnIf4XJhSqx8&r=8IEA8RSOvQ9oXtWAG1eT2mTMD_NJ-ANv3H9feUw_xMw&m=cGA8VFmG65hQ_4fSZEBNK42nE5WuDzD36r9U-poJdu0&s=K2YKFupTwNc1n5At_Xw6yefNWy31oVDEzYE0KVWrHYo&e= (Access date: 2021 Mar.)

  13. Heena R, Amr M, Mohsen G (2020) A survey of blockchain enabled cyber-physical systems. Sensors 20(1):282

    Article  Google Scholar 

  14. Konstantinos C, Michael D (2016) Blockchains and smart contracts for the internet of things. IEEE Access 4:2292–2303

    Article  Google Scholar 

  15. Kshetri N (2017) Can blockchain strengthen the internet of things? IT Professional 19(4):68–72

    Article  Google Scholar 

  16. Kuang LS, Yue L, Yen CS, Xiwei X, Qinghua L, Liming Z, Huansheng N (2019) Analysis of blockchain solutions for iot: a systematic literature review. IEEE Access 7:58,822–58,835

    Article  Google Scholar 

  17. Kyun KS, Zane M, Siddharth M, Joshua M, Andrew M, Michael B (2018) Measuring ethereum network peers. In: Proceedings of the internet measurement conference 2018, pp 91–104

  18. Liu Q, Yu L, Jia C (2020) Mover: stabilize decentralized finance system with practical risk management. In: Proc. conference on blockchain research & applications for innovative networks and services (BRAINS). IEEE, pp 55–56

  19. Maymounkov P, Mazieres D (2002) Kademlia: a peer-to-peer information system based on the xor metric. In: Proc. springer international workshop on peer-to-peer systems, pp 3–65

  20. Nandar AY, Thitinan T (2017) Review of ethereum: smart home case study. In: Proc. 2nd IEEE international conference on information technology (INCIT), pp 1–4

  21. Novo O (2018) Blockchain meets iot: an architecture for scalable access management in iot. IEEE Internet of Things Journal 5(2):1184–1195

    Article  Google Scholar 

  22. Quanqing X, Chao J, Mohamed RMFB, Bharadwaj V, Mi AKM (2018) Blockchain-based decentralized content trust for docker images. Multimedia Tools and Applications 77(14):18,223–18,248

    Article  Google Scholar 

  23. Quanqing X, Zhaozheng H, Zengxiang L, Mingzhong X (2018) Building an ethereum-based decentralized smart home system. In: Proc. IEEE 24th international conference on parallel and distributed systems (ICPADS), pp 1004–1009

  24. Seyoung H, Sangrae C, Soohyung K (2017) Managing iot devices using blockchain platform. In: Proc. IEEE 19th international conference on advanced communication technology, pp 464–467

  25. Shi N, Tan L, Li W, Qi X, Yu K (2020) A blockchain-empowered aaa scheme in the large-scale hetnet. Digital Communications and Networks

  26. Suporn P, Chaiyaphum S, Thajchayapong S (2017) Performance analysis of private blockchain platforms in varying workloads. In: Proc. 26th IEEE international conference on computer communication and networks (ICCCN), pp 1–6

  27. Wüst K, Gervais A (2018) Do you need a blockchain?. In: Proc. IEEE Crypto valley conference on blockchain technology (CVCBT), pp 45–54

  28. Yu K, Tan L, Shang X, Huang J, Srivastava G, Chatterjee P (2020) Efficient and privacy-preserving medical research support platform against covid-19: a blockchain-based approach. Consumer Electronics Magazine

  29. Yu KP, Tan L, Aloqaily M, Yang H, Jararweh Y (2021) Blockchain-enhanced data sharing with traceable and direct revocation in iiot. Transactions on Industrial Informatics

  30. Zheng P, Zibin Z, Xiapu L, Xiangping C, Xuanzhe L (2018) A detailed and real-time performance monitoring framework for blockchain systems. In: Proc. IEEE/ACM ICSE-SEIP, pp 134–143

  31. Zibin Z, Shaoan X, Hongning D, Xiangping C, Huaimin W (2017) An overview of blockchain technology: architecture, consensus, and future trends. In: Proc. IEEE international congress on big data (BigData congress), pp 557–564

Download references

Acknowledgments

This work was funded in part by Vingroup Joint Stock Company (Vingroup JSC), Vingroup and supported by Vingroup Innovation Foundation (VINIF) under project code VINIF.2020.DA09 in part by JSPS KAKENHI Grant Number 19K20251, 20H04174. Additionally, Kien Nguyen is supported by the Leading Initiative for Excellent Young Researchers (LEADER) program from MEXT, Japan.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kien Nguyen.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This article is part of the Topical Collection: Special Issue on Blockchain for Peer-to-Peer Computing Guest Editors: Keping Yu, Chunming Rong, Yang Cao, and Wenjuan Li

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, X., Nguyen, K. & Sekiya, H. An experimental study on performance of private blockchain in IoT applications. Peer-to-Peer Netw. Appl. 14, 3075–3091 (2021). https://doi.org/10.1007/s12083-021-01148-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12083-021-01148-9

Keywords

Navigation