Litcius/Paper detail

Throughput Optimization for Blockchain System with Dynamic Sharding

Chuyi Liu, Jianxiong Wan, Leixiao Li, Bingbing Yao

2023Electronics10 citationsDOIOpen Access PDF

Abstract

Sharding technology, which divides a network into multiple disjoint groups so that transactions can be processed in parallel, is applied to blockchain systems as a promising solution to improve Transactions Per Second (TPS). This paper considers the Optimal Blockchain Sharding (OBCS) problem as a Markov Decision Process (MDP) where the decision variables are the number of shards, block size and block interval. Previous works solved the OBCS problem via Deep Reinforcement Learning (DRL)-based methods, where the action space must be discretized to increase processability. However, the discretization degrades the quality of the solution since the optimal solution usually lies between discrete values. In this paper, we treat the block size and block interval as continuous decision variables and provide dynamic sharding strategies based on them. The Branching Dueling Q-Network Blockchain Sharding (BDQBS) algorithm is designed for discrete action spaces. Compared with traditional DRL algorithms, the BDQBS overcomes the drawbacks of high action space dimensions and difficulty in training neural networks. And it improves the performance of the blockchain system by 1.25 times. We also propose a sharding control algorithm based on the Parameterized Deep Q-Networks (P-DQN) algorithm, i.e., the Parameterized Deep Q-Networks Blockchain Sharding (P-DQNBS) algorithm, to efficiently handle the discrete–continuous hybrid action space without the scalability issues. Also, the method can effectively improve the TPS by up to 28%.

Topics & Concepts

Computer scienceParameterized complexityMarkov decision processBlock (permutation group theory)DiscretizationScalabilityReinforcement learningBlockchainAlgorithmMathematical optimizationDistributed computingParallel computingMarkov processArtificial intelligenceMathematicsStatisticsGeometryMathematical analysisDatabaseComputer securityBlockchain Technology Applications and SecurityTransportation and Mobility Innovations