Skip to main content

Advertisement

Log in

Sharding for Scalable Blockchain Networks

  • Review Article
  • Published:
SN Computer Science Aims and scope Submit manuscript

Abstract

Blockchain technology has been extended from bitcoin transactions to applications in multiple domains. Scalability has been identified as a major challenge in large-scale blockchain networks because of the number of possible participants. Scalability becomes a consideration because the blockchain distributed ledger is replicated at all participating nodes, and the block validation process may experience transaction throughput, storage, latency, and energy consumption hurdles. Sharding is a database technique adopted in blockchain technology to attempt to resolve the scalability issue. Sharding enables parallelization of transactions to improve transaction throughput in a blockchain network where a single ledger is shared in each shard to optimize the storage issue of blockchain scalability. Herein, we present a detailed review focusing on scalability challenges in blockchain and solutions provided by database sharding to resolve these challenges. Various sharding consensus protocols are examined along with our insights into existing solutions. Extensive open challenges are provided in this research for future researchers, including cross-shard communication overhead, shard formation, node assignment to shards, optimal number of shards in a network and shard takeover attacks.

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

Similar content being viewed by others

References

  1. Nakamoto S. Bitcoin: a peerto-peer electronic cash system. Decent Bus Rev 1260 (2008)

  2. Subramanian H. Decentralized blockchain-based electronic marketplaces. Commun ACM. 2017;61(1):78–84.

    Article  Google Scholar 

  3. Dib O, Brousmiche K-L, Durand A, Thea E, Hamida EB. Consortium blockchains: overview, applications and challenges. Int J Adv Telecommun. 2018;11(1&2):51–64.

    Google Scholar 

  4. Shuaib K, Saleous H, Shuaib K, Zaki N. Blockchains for secure digitized medicine. J Personal Med. 2019;9(3):35.

    Article  Google Scholar 

  5. Crosby M, Pattanayak P, Verma S, Kalyanaraman V, et al. Blockchain technology: beyond bitcoin. Appl Innov. 2016;2(6–10):71.

    Google Scholar 

  6. Zheng Z, Xie S, Dai H-N, Chen X, Wang H. Blockchain challenges and opportunities: a survey. Int J Web Grid Serv. 2018;14(4):352–75.

    Article  Google Scholar 

  7. Wang G, Shi ZJ, Nixon M, Han S (2019) Sok: sharding on blockchain. In: Proceedings of the 1st ACM conference on advances in financial technologies, 2019, pp. 41–61

  8. Ismail L, Materwala H, Zeadally S. Lightweight blockchain for healthcare. IEEE Access. 2019;7:149935–51.

    Article  Google Scholar 

  9. Dang H, Dinh TTA, Loghin D, Chang E-C, Lin Q, Ooi BC. Towards scaling blockchain systems via sharding. In: Proceedings of the 2019 international conference on management of data, 2019, pp. 123–140.

  10. Johri E, Sarkar D, Shah K, Mota M. Addressing scalability and storage issues in block chain using sharding. In: Proceedings of international conference on advancements in computing & management (ICACM), 2019.

  11. Lee DR, Jang Y, Kim H. Poster: a proof-ofstake (pos) blockchain protocol using fair and dynamic sharding management. I:n Proceedings of the 2019 ACM SIGSAC conference on computer and communications security, 2019, pp. 2553–2555.

  12. Yoo H, Yim J, Kim S. The blockchain for domain based static sharding. In: 2018 17th IEEE international conference on trust, security and privacy in computing and communications/12th IEEE international conference on big data science and engineering (TrustCom/BigDataSE). IEEE, 2018, pp. 1689–1692

  13. Luu L, Narayanan V, Zheng C, Baweja K, Gilbert S, Saxena P. A secure sharding protocol for open blockchains. In: Proceedings of the 2016 ACM SIGSAC conference on computer and communications security, 2016, pp. 17–30.

  14. Kokoris-Kogias E, Jovanovic P, Gasser L, Gailly N, Syta E, Ford B. Omniledger: a secure, scale-out, decentralized ledger via sharding. In: 2018 IEEE symposium on security and privacy (SP). IEEE, 2018, pp. 583–598

  15. Sonnino A. Chainspace: a sharded smart contract platform. In: Network and distributed system security symposium 2018 (NDSS 2018), 2018.

  16. Zamani M, Movahedi M, Raykova M. Rapidchain: scaling blockchain via full sharding. In: Proceedings of the 2018 ACM SIGSAC conference on computer and communications security, 2018, pp. 931–948.

  17. Li S, Yu M, Yang C-S, Avestimehr AS, Kannan S, Viswanath P. Polyshard: coded sharding achieves linearly scaling efficiency and security simultaneously. IEEE Trans Inf Forens Secur. 2020;16:249–61.

    Article  Google Scholar 

  18. Amiri MJ, Agrawal D, El Abbadi A. Sharper: sharding permissioned blockchains over network clusters. In: Proceedings of the 2021 international conference on management of data, 2021, pp. 76–88.

  19. Tong W, Dong X, Shen Y, Jiang X. A hierarchical sharding protocol for multidomain iot blockchains. In: ICC 2019–2019 IEEE international conference on communications (ICC). IEEE, 2019, pp. 1–6.

  20. Mazlan AA, Daud SM, Sam SM, Abas H, Rasid SZA, Yusof MF. Scalability challenges in healthcare blockchain system—a systematic review. IEEE Access. 2020;8:23663–73.

    Article  Google Scholar 

  21. Yu G, Wang X, Yu K, Ni W, Zhang JA, Liu RP. Survey: sharding in blockchains. IEEE Access. 2020;8:14155–81.

    Article  Google Scholar 

  22. Kim S, Kwon Y, Cho S. A survey of scalability solutions on blockchain. In: 2018 International conference on information and communication technology convergence (ICTC). IEEE, 2018, pp. 1204–1207.

  23. Zhang J, Hong Z, Qiu X, Zhan Y, Guo S, Chen W. Skychain: a deep reinforcement learning-empowered dynamic blockchain sharding system. In: 49th International conference on parallel processing-ICPP, 2020, pp. 1–11.

  24. Manuskin A, Mirkin M, Eyal I. Ostraka: secure blockchain scaling by node sharding. In: 2020 IEEE European symposium on security and privacy workshops (EuroS&PW). IEEE, 2020, pp. 397–406.

  25. Yun J, Goh Y, Chung JM. Dqn-based optimization framework for secure sharded blockchain systems. IEEE Internet Things J. 2020;8(2):708–22.

    Article  Google Scholar 

  26. Abuidris Y, Kumar R, Yang T, Onginjo J. Secure largescale e-voting system based on blockchain contract using a hybrid consensus model combined with sharding. ETRI J. 2021;43(2):357–70.

    Article  Google Scholar 

  27. Hashim F, Shuaib K, Sallabi F. Medshard: electronic health record sharing using blockchain sharding. Sustainability. 2021;13(11):5889.

    Article  Google Scholar 

  28. Shard(database architecture). https://en.wikipedia.org/wiki/Shard_(database_architecture).

  29. Pattishal D. Unorthodox approach to database design. https://mysqldba.blogspot.com/2006/11/unorthodox-approach-to-database-design.html, 2006.

  30. Kim J. How sharding works.https://medium.com/@jeeyoungk/how-sharding-works-b4dec46b3f6. Accessed 20 Jan 2021.

  31. Corbett JC, Dean J, Epstein M, Fikes A, Frost C, Furman JJ, Ghemawat S, Gubarev A, Heiser C, Hochschild P, et al. Spanner: Google’s globally distributed database. ACM Trans Comput Syst (TOCS). 2013;31(3):1–22.

    Article  Google Scholar 

  32. Podda AS, Pompianu L. An overview of blockchain based systems and smart contracts for digital coupons. In: Proceedings of the IEEE/ACM 42nd international conference on software engineering workshops, 2020, pp. 770–778.

  33. Le Nguyen T. Blockchain in healthcare: a new technology benefit for both patients and doctors. In: 2018 Portland international conference on management of engineering and technology (PICMET). IEEE, 2018, pp. 1–6.

  34. Linn LA, Koo MB. Blockchain for health data and its potential use in health it and health care related research. In: ONC/NIST use of blockchain for healthcare and research workshop. Gaithersburg, Maryland, United States: ONC/NIST. sn, 2016, pp. 1–10.

  35. Karlsson K, Jiang W, Wicker S, Adams D, Ma E, van Renesse R, Weatherspoon H. Vegvisir: a partition-tolerant blockchain for the internet-of-things. In: 2018 IEEE 38th international conference on distributed computing systems (ICDCS). IEEE, 2018, pp. 1150–1158.

  36. Ali MS, Vecchio M, Pincheira M, Dolui K, Antonelli F, Rehmani MH. Applications of blockchains in the internet of things: a comprehensive survey. IEEE Commun Surv Tutor. 2018;21(2):1676–717.

    Article  Google Scholar 

  37. Lo SK, Liu Y, Chia SY, Xu X, Lu Q, Zhu L, Ning H. Analysis of blockchain solutions for IoT: a systematic literature review. IEEE Access. 2019;7:58822–35.

    Article  Google Scholar 

  38. Yetis R, Sahingoz OK. Blockchain based secure communication for IoT devices in smart cities. In: 2019 7th international Istanbul smart grids and cities congress and fair (ICSG). IEEE, 2019, pp. 134–138.

  39. Korpela K, Hallikas J, Dahlberg T. Digital supply chain transformation toward blockchain integration. In: Proceedings of the 50th Hawaii international conference on system sciences, 2017.

  40. Caro MP, Ali MS, Vecchio M, Giaffreda R. Blockchain-based traceability in agri-food supply chain management: a practical implementation. In: 2018 IoT vertical and topical summit on agriculture-Tuscany (IOT Tuscany). IEEE, 2018, pp. 1–4.

  41. Patel V. A framework for secure and decentralized sharing of medical imaging data via blockchain consensus. Health Inform J. 2019;25(4):1398–411.

    Article  Google Scholar 

  42. Barinov I, Lysenko V, Beloussov S, Shmulevich M, Protasov S. System and method for verifying data integrity using a blockchain network. 30 Oct. 2018, uS Patent 10,114,980.

  43. Xu Q, Jin C, Rasid MFBM, Veeravalli B, Aung KMM. Blockchain-based decentralized content trust for docker images. Multimedia Tools Appl. 2018;77(14):18223–48.

    Article  Google Scholar 

  44. Dubovitskaya A, Xu Z, Ryu S, Schumacher M, Wang F. “How blockchain could empower ehealth: an application for radiation oncology. In: VLDB workshop on data management and analytics for medicine and healthcare. Springer, 2017, pp. 3–6.

  45. Herrmann M, Petzold J, Bombatkar V. Blockchainbacked analytics. Adding blockchain-based quality gates to data science projects. In: 2nd International conference on advanced research methods and analytics (CARMA 2018). Proceedings, 2018.

  46. Wang J, Zhou Y, Li X, Xu T, Qiu T. A node rating based sharding scheme for blockchain. In: 2019 IEEE 25th international conference on parallel and distributed systems (ICPADS). IEEE, 2019, pp. 302–309.

  47. Al-Bassam M, Sonnino A, Bano S, Hrycyszyn D, Danezis G. Chainspace: a sharded smart contracts platform. arXiv preprint arXiv:1708.03778, 2017.

  48. Androulaki E, Barger A, Bortnikov V, Cachin C, Christidis K, De Caro A, Enyeart D,Ferris C, Laventman G, Manevich Y, et al. Hyperledger fabric: a distributed operating system for permissioned blockchains. In: Proceedings of the thirteenth EuroSys conference, 2018, pp. 1–15.

  49. Danezis G, Meiklejohn S. Centrally banked cryptocurrencies. arXiv preprint arXiv:1505.06895, 2015.

  50. Wang J, Wang H. Monoxide: scale out blockchains with asynchronous consensus zones. In: 16th USENIX symposium on networked systems design and implementation (NSDI 19), 2019, pp. 95–112.

  51. Xi J, Zou S, Xu G, Guo Y, Lu Y, Xu J, Zhang X. A comprehensive survey on sharding in blockchains. Mob Inf Syst. 2021;2021:1–122.

    Google Scholar 

  52. Bano S, Sonnino A, AlBassam M, Azouvi S, McCorry P, Meiklejohn S, Danezis G. Sok: consensus in the age of blockchains. In: Proceedings of the 1st ACM conference on advances in financial technologies, 2019, pp. 183–198.

  53. Curran B. What is nakamoto consensus?. https://blockonomi.com/nakamoto-consensus/, Accessed 20 Mar 2021

  54. Eyal I, Sirer EG. Majority is not enough: bitcoin mining is vulnerable. In: International conference on financial cryptography and data security. Springer, 2014, pp. 436–454.

  55. Garay J, Kiayias A, Leonardos N. The bitcoin backbone protocol: analysis and applications. In: Annual international conference on the theory and applications of cryptographic techniques. Springer, 2015, pp. 281–310.

  56. Eyal I, Gencer AE, Sirer EG, Van Renesse R. Bitcoin-ng: a scalable blockchain protocol. In: 13th {USENIX} symposium on networked systems design and implementation ({NSDI} 16), 2016, pp. 45–59.

  57. Kogias EK, Jovanovic P, Gailly N, Khoffi I, Gasser L, Ford B. Enhancing bitcoin security and performance with strong consistency via collective signing. In: 25th {usenix} security symposium ({usenix} security 16), 2016, pp. 279–296.

  58. Pass R, Shi E. Hybrid consensus: Efficient consensus in the permissionless model. In: 31st International symposium on distributed computing (DISC 2017). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017

  59. Gilad Y, Hemo R, Micali S, Vlachos G, Zeldovich N. “Algorand: scaling byzantine agreements for cryptocurrencies. In: Proceedings of the 26th symposium on operating systems principles, 2017, pp. 51–68.

  60. Mazieres D. The stellar consensus protocol: a federated model for internet-level consensus. Stellar Development Foundation, vol. 32, 2015.

  61. Bartoletti M, Lande S, Podda AS. A proof-of-stake protocol for consensus on bitcoin subchains. In: International conference on financial cryptography and data security. Springer, 2017, pp. 568–584.

  62. Guidi B, Michienzi A, Ricci L. Analysis of witnesses in the steem blockchain. Mobile Netw Appl. 2021;26(5):2099–110.

    Article  Google Scholar 

  63. Gao Y, Kawai S, Nobuhara H. Scalable blockchain protocol based on proof of stake and sharding. J Adv Comput Intell Intell Inform. 2019;23(5):856–63.

    Article  Google Scholar 

  64. Lamport L. The weak byzantine generals problem. J ACM (JACM). 1983;30(3):668–76.

    Article  MathSciNet  MATH  Google Scholar 

  65. Castro M, Liskov B, et al. Practical byzantine fault tolerance. OSDI. 1999;99(1999):173–86.

    Google Scholar 

  66. Zhou Q, Huang H, Zheng Z, Bian J. Solutions to scalability of blockchain: a survey. IEEE Access. 2020;8:16440–55.

    Article  Google Scholar 

  67. Hafid A, Hafid AS, Samih M. Scaling blockchains: a comprehensive survey. IEEE Access. 2020;8:125244–62.

    Article  Google Scholar 

  68. Cai X, Geng S, Zhang J, Wu D, Cui Z, Zhang W, Chen J. A sharding scheme-based many-objective optimization algorithm for enhancing security in blockchain-enabled industrial internet of things. IEEE Trans Ind Inform. 2021;17(11):7650–8.

    Article  Google Scholar 

  69. Ghimire B, Rawat DB, Liu C, Li J. Sharding-enabled blockchain for software-defined internet of unmanned vehicles in the battlefield. IEEE Netw. 2021;35(1):101–7.

    Article  Google Scholar 

  70. Halgamuge MN, Hettikankanamge SC, Mohammad A. Trust model to minimize the influence of malicious attacks in sharding based blockchain networks. In: 2020 IEEE third international conference on artificial intelligence and knowledge engineering (AIKE). IEEE, 2020, pp. 162–167.

  71. Kantesariya S, Goswami D. Determining optimal shard size in a hierarchical blockchain architecture. In: 2020 IEEE international conference on blockchain and cryptocurrency (ICBC). IEEE, 2020, pp. 1–3.

  72. Ometoruwa T. Solving the blockchain trilemma: decentralization, security & scalability. Retrieved May, vol. 17, p. 2018, 2018.

Download references

Acknowledgements

This research was funded by Zayed Center for Health Sciences, the United Arab Emirates University, Grant number 31R180.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Faiza Hashim.

Ethics declarations

Conflict of interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Additional information

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Hashim, F., Shuaib, K. & Zaki, N. Sharding for Scalable Blockchain Networks. SN COMPUT. SCI. 4, 2 (2023). https://doi.org/10.1007/s42979-022-01435-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s42979-022-01435-z

Keywords

Navigation