Computer Science ›› 2022, Vol. 49 ›› Issue (11): 302-308.doi: 10.11896/jsjkx.210800109

• Computer Network • Previous Articles     Next Articles

Shard Load Balancing Method Using State Reduction

CHEN Jing, LI Zhi-huai, GAO Dong-xue, LI Min   

  1. School of Information Science and Technology,Dalian Maritime University,Dalian,Liaoning 116026,China
  • Received:2021-08-12 Revised:2022-03-02 Online:2022-11-15 Published:2022-11-03
  • About author:CHEN Jing,born in 1995,postgraduate.Her main research interests include blockchain technology and so on.
    LI Zhi-huai,born in 1964,professor.His main research interests include blockchain technology and network information security.

Abstract: Sharding technology is one of the core technologies to solve the scalability problem of blockchain.When transactions in the P2P network are aggregated into established shards according to the rules,and the verification nodes are randomly and evenly distributed to each shard,the transactions in this shard may be congested because the transaction verification load of individual shard may far exceed the average load.In order to solve the load imbalance between shards,a shard load balancing method using state reduction is proposed.Firstly,the state reduction model is given,which allows high-performance nodes to store more adjacent states,and the node performance is roughly classified according to this model.Secondly,according to the transaction verification situation in each timeslot,unverified transactions are taken as the remaining load,which is used as the basis for adjusting the verification ability in the next timeslot.Finally,the nodes are scored and graded,and the node selection strategy is given based on the remaining load and the average score of the consensus verification node set.Nodes are allocated reasonably and randomly,and the remaining loads of high load fragments are reduced upward.Experimental verification shows that the shard load balancing method using state reduction effectively balances the unusual load of one shard without reducing the transaction verification rate of a single shard.

Key words: Blockchain, Sharding, State reduction, Load balancing, State synchronization, PBFT

CLC Number: 

  • TP311
[1]NAKAMOTO S.Bitcoin:A peer-to-peer electronic cash system[J].Journal for General Philosophy of Science,2008,39(1):53-67.
[2]SUN Z X,ZHANG X,XIANG F,et al.Survey of Storage Sca-lability on Blockchain [J].Journal of Software,2021,32(1):1-20.
[3]LI Y,MEN J B,YU H,et al.Overview of Blockchain Capacity Expansion Technology[J].Electric Power Information and Communication Technology,2020,18(6):1-9.
[4]WILK A,IYENGAR J,SWETT I,et al.QUIC:A UDP-Based Secure and Reliable Transport for HTTP/2[J/OL].https://datatracker.ietf.org/doc/html/draft-tsvwg-quic-protocol-02.
[5]YU G,WANG X,YU K,et al.Survey:Sharding in Blockchains[J].IEEE Access,2020,8:14155-14181.
[6]DANG H,DINH T,LOGHIN D,et al.Towards Scaling Blockchain Systems via Sharding[C]//Proceedings of the 2019 International Conference on Management of Data.New York,Asso-ciation for Computing Machinery.2019:123-140.
[7]GAI K K,HU Z Y,ZHU L H,et al.Blockchain Meets DAG:A BlockDAG Consensus Mechanism[C]//ICA3PP 2020.New York,Algorithms and Architectures for Parallel Processing,2020:110-125.
[8]AMRITRAJ S,KELLY C,REZA M.Sidechain technologies inblockchain networks:An examination and state-of-the-art review[J].Journal of Network and Computer Applications,2020,149(102471):1-16.
[9]LI G,HUANG Y M,ZHENG G P,et al.Technical Prospect of Raiden Network in Electric Vehicle Charging Transaction[J].Electric Power Construction,2018,39(9):78-86.
[10]LUU L,NARAYANAN V,ZHENG C,et al.A Secure Sharding Protocol For Open Blockchains[C]//The 2016 ACM SIGSAC Conference.ACM,2016.
[11]ZAMANI M,MOVAHEDI M,RAYKOVA M.RapidChain:Scaling Blockchain via Full Sharding[C]//The 2018 ACM SIGSAC Conference.ACM,2018.
[12]DANNEN C.Introducing Ethereum and solidity[M].Berkeley:Apress,2017.
[13]BACH L M,MIHALJEVIC B,ZAGAR M.Comparative analysis of blockchain consensus algorithms[C]//2018 41st International Convention on Information and Communication Technology,Electronics and Microelectronics(MIPRO).2018:1545-1550.
[14]TIAN G H,HU Y H,CHEN X F.Research progress on attack and defense techniques in block-chain system[J].Journal of Software,2021,32(5):1495-1525.
[15]SUKHWANI H,MARTÍNEZ J M,CHANG X,et al.Perfor-mance Modeling of PBFT Consensus Process for Permissioned Blockchain Network(Hyperledger Fabric)[C]//2017 IEEE 36th Symposium on Reliable Distributed Systems(SRDS).2017,253-255.
[16]LIU Y,LIU J,HEI Y,et al.A Secure Shard Reconfiguration Protocol for Sharding Blockchains Without a Randomness[C]//TrustCom 2020.Guangzhou,Security and Privacy in Computing and Communications,2020:1012-1019.
[17]YUN J,GOH Y,CHUNG J M.Trust-Based Shard Distribution Scheme for Fault-Tolerant Shard Blockchain Networks[J].IEEE Access,2019,7:135164-135175.
[18]ALDAKHEEL J S,ALAHMAD M A,FOUDERY A A.Comparison Between Bitcoin and Quarkchain[J].Journal of Computational and Theoretical Nanoscience,2019,16(3):818-822.
[19]LI M,LI Z H,BAI B,et al.Multi-Round Balancing Verification Scheme for Sharding Load[J].Computer Science and Application,2021,11(1):45-55.
[20]GOYAL R,HOHENBERGER S,KOPPULA V,et al.A Gene-ric Approach to Constructing and Proving Verifiable Random Functions[C]// TCC 2017.Baltimore:Springer,2017:537-566.
[1] WANG Zi-kai, ZHU Jian, ZHANG Bo-jun, HU Kai. Research and Implementation of Parallel Method in Blockchain and Smart Contract [J]. Computer Science, 2022, 49(9): 312-317.
[2] TIAN Zhen-zhen, JIANG Wei, ZHENG Bing-xu, MENG Li-min. Load Balancing Optimization Scheduling Algorithm Based on Server Cluster [J]. Computer Science, 2022, 49(6A): 639-644.
[3] LI Bo, XIANG Hai-yun, ZHANG Yu-xiang, LIAO Hao-de. Application Research of PBFT Optimization Algorithm for Food Traceability Scenarios [J]. Computer Science, 2022, 49(6A): 723-728.
[4] ZHOU Hang, JIANG He, ZHAO Yan, XIE Xiang-peng. Study on Optimal Scheduling of Power Blockchain System for Consensus Transaction ofEach Unit [J]. Computer Science, 2022, 49(6A): 771-776.
[5] FU Li-yu, LU Ge-hao, WU Yi-ming, LUO Ya-ling. Overview of Research and Development of Blockchain Technology [J]. Computer Science, 2022, 49(6A): 447-461.
[6] GAO Jian-bo, ZHANG Jia-shuo, LI Qing-shan, CHEN Zhong. RegLang:A Smart Contract Programming Language for Regulation [J]. Computer Science, 2022, 49(6A): 462-468.
[7] MAO Dian-hui, HUANG Hui-yu, ZHAO Shuang. Study on Automatic Synthetic News Detection Method Complying with Regulatory Compliance [J]. Computer Science, 2022, 49(6A): 523-530.
[8] WANG Si-ming, TAN Bei-hai, YU Rong. Blockchain Sharding and Incentive Mechanism for 6G Dependable Intelligence [J]. Computer Science, 2022, 49(6): 32-38.
[9] SUN Hao, MAO Han-yu, ZHANG Yan-feng, YU Ge, XU Shi-cheng, HE Guang-yu. Development and Application of Blockchain Cross-chain Technology [J]. Computer Science, 2022, 49(5): 287-295.
[10] YANG Zhen, HUANG Song, ZHENG Chang-you. Study on Crowdsourced Testing Intellectual Property Protection Technology Based on Blockchain and Improved CP-ABE [J]. Computer Science, 2022, 49(5): 325-332.
[11] REN Chang, ZHAO Hong, JIANG Hua. Quantum Secured-Byzantine Fault Tolerance Blockchain Consensus Mechanism [J]. Computer Science, 2022, 49(5): 333-340.
[12] GAO Jie, LIU Sha, HUANG Ze-qiang, ZHENG Tian-yu, LIU Xin, QI Feng-bin. Deep Neural Network Operator Acceleration Library Optimization Based on Domestic Many-core Processor [J]. Computer Science, 2022, 49(5): 355-362.
[13] FENG Liao-liao, DING Yan, LIU Kun-lin, MA Ke-lin, CHANG Jun-sheng. Research Advance on BFT Consensus Algorithms [J]. Computer Science, 2022, 49(4): 329-339.
[14] WANG Xin, ZHOU Ze-bao, YU Yun, CHEN Yu-xu, REN Hao-wen, JIANG Yi-bo, SUN Ling-yun. Reliable Incentive Mechanism for Federated Learning of Electric Metering Data [J]. Computer Science, 2022, 49(3): 31-38.
[15] ZHANG Ying-li, MA Jia-li, LIU Zi-ang, LIU Xin, ZHOU Rui. Overview of Vulnerability Detection Methods for Ethereum Solidity Smart Contracts [J]. Computer Science, 2022, 49(3): 52-61.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!