Batch Transaction Processing for Adaptive Sharding Blockchain-Enabled Edge Computing
Edge computing (EC) provides an efficient and low-latency computing architecture for mobile multimedia communications. Blockchain-enabled EC can offer enhanced security and data privacy protection in the system, whereas throughput remains a big concern for the blockchain. Sharding is a promising solution to increase the throughput at the cost of complex cross-shard transaction verification. The popular two-phase commit protocol (2PC) can ensure the consistency of cross-shard transaction processing. However, in the existing schemes based on 2PC, the number of intra-shard consensus invocations is proportional to the number of transactions, which imposes a great challenge on the system throughput and adaptivity improvement in sharding blockchains under dynamic transaction processing demands and capacities. In this article, we propose a transaction processing scheme based on 2PC, such that multiple transactions can be simultaneously processed in a batch during every execution of the consensus. Furthermore, we model the problem of transaction allocation to batches as a communication load balancing problem, aiming to balance the inter-shard communications within each batch under the shard processing capacity constraint. We also propose an effective Batch Transaction Processing algorithm (BTP) for the problem. Theoretical analysis proves that BTP is a 3-approximation algorithm for the communication load balancing problem. In the simulations and experiments on BlockEmulator, BTP respectively improves the system throughput and total transaction processing time by at least 29.41% and 22.64% over the state-of-the-art cross-shard transaction processing schemes, which demonstrates the superior adaptivity performance of BTP.
Authors
- Xu Ding (ORCID: https://orcid.org/0000-0002-7669-4139)
- Yuqi Fan
- Bo Gao (ORCID: https://orcid.org/0009-0003-3192-1582)
- Dong Sheng (ORCID: https://orcid.org/0000-0002-3668-2918)
- Zipeng Hu (ORCID: https://orcid.org/0009-0002-3439-2295)
Institutions
- University of Science and Technology of China (CN)
- Hefei University of Technology (CN)
Publication Details
- Journal
- ACM Transactions on Autonomous and Adaptive Systems
- Published
- 2025-09-02
- DOI
- https://doi.org/10.1145/3764927
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00