Abstract
Blockchain sharding, a promising approach to improve system performance, divides the network into several small parallel working shards. However, the performance of existing sharded blockchain systems may degrade seriously due to the existence of cross-shard transactions. To overcome such drawbacks, we propose a blockchain system called HieraChain to process transactions with robust cross-shard transactions tolerance, based on a novel hierarchical sharding architecture. The upper-layer shards order the cross-shard transactions and the participants process them asynchronously to pipeline the transactions ordering. Furthermore, HieraChain proposes an optimized locality-aware protocol to trade off the local access patterns and the induced remote access events. Extensive experimental results demonstrate that HieraChain outperforms the state-of-the-art approaches significantly in the presence of cross-shard transactions, achieving up to 3\(\times \) and 2\(\times \) higher throughput than Saguaro and SharPer under general workload respectively. Moreover, our locality-aware approach further reduces transaction latency by 68 \(\%\) and 51\(\%\) compared to our basic approach and traditional baselines, respectively.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Amiri, M.J., Agrawal, D., et al.: Sharper: sharding permissioned blockchains over network clusters. In: Proceedings of the 2021 International Conference on Management of Data, SIGMOD 2021, New York, pp. 76–88. Association for Computing Machinery (2021)
Amiri, M.J., Lai, Z., et al.: Saguaro: an edge computing-enabled hierarchical permissioned blockchain. In: 2023 IEEE 39th International Conference on Data Engineering (ICDE), pp. 259–272 (2023)
Androulaki, E., Barger, A., et al.: Hyperledger fabric: a distributed operating system for permissioned blockchains. In: 2018 ACM 13th International European Conference on Computer Systems (EuroSys), New York. Association for Computing Machinery (2018)
Castro, M., Liskov, B.: Practical byzantine fault tolerance. In: 1999 USENIX 3rd Symposium on Operating Systems Design and Implementation (OSDI), pp. 173–186 (1999)
Chen, Z., Zhuo, H., et al.: Schain: a scalable consortium blockchain exploiting intra-and inter-block concurrency. In: 2021 ACM 47th International Conference on Very Large Data Bases (VLDB), New York, pp. 2799–2802. Association for Computing Machinery (2021)
Dang, H., Dinh, T.T.A., et al.: Towards scaling blockchain systems via sharding. In: Proceedings of the 2019 International Conference on Management of Data, SIGMOD 2019, New York, pp. 123–140. Association for Computing Machinery (2019)
Hellings, J., Sadoghi, M.: ByShard: sharding in a byzantine environment. VLDB J. 32(6), 1343–1367 (2023)
Hong, Z., Guo, S., et al.: Pyramid: a layered sharding blockchain system. In: 2021 IEEE International Conference on Computer Communications, INFOCOM 2021, pp. 1–10 (2021)
Huang, H., Huang, Z., et al.: Mvcom: scheduling most valuable committees for the large-scale sharded blockchain. In: 2021 IEEE 41th International Conference on Distributed Computing Systems (ICDCS), pp. 629–639 (2021)
Huang, H., Peng, X., et al.: Brokerchain: a cross-shard blockchain protocol for account/balance-based state sharding. In: 2022 IEEE 42th International Conference on Distributed Computing Systems (ICDCS), pp. 1968–1977 (2022)
Katsarakis, A., Ma, Y., et al.: Zeus: locality-aware distributed transactions. In: 2021 ACM 16th International European Conference on Computer Systems (EuroSys), New York, pp. 145–161. Association for Computing Machinery (2021)
Kokoris-Kogias, E., Jovanovic, P., et al.: Omniledger: a secure, scale-out, decentralized ledger via sharding. In: 2018 IEEE Symposium on Security and Privacy (SP), pp. 583–598 (2018)
Li, H., Chen, Y., et al.: Fisco-bcos: an enterprise-grade permissioned blockchain system with high-performance. In: Proceedings of the 2023 International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2023, pp. 1–17 (2023)
Luu, L., Narayanan, V., et al.: A secure sharding protocol for open blockchains. In: Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, CCS 2016, pp. 17–30 (2016)
Nguyen, L.N., Nguyen, T.D.T., et al.: Optchain: optimal transactions placement for scalable blockchain sharding. In: 2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS), pp. 525–535 (2019)
Qi, X., Chen, Z., et al.: Schain: Scalable concurrency over flexible permissioned blockchain. In: 2023 IEEE 39th International Conference on Data Engineering (ICDE), pp. 1901–1913 (2023)
Serafini, M., Taft, R., et al.: Clay: fine-grained adaptive partitioning for general database schemas. In: 2016 ACM 42th International Conference on Very Large Data Bases (VLDB), pp. 445–456 (2016)
Smallbank benchmark. http://hstore.cs.brown.edu/documentation/deployment/benchmarks/smallbank (2021)
Tao, Y., Li, B., et al.: On sharding open blockchains with smart contracts. In: 2020 IEEE 36th International Conference on Data Engineering (ICDE), pp. 1357–1368 (2020)
Wang, J., Wang, H.: Monoxide: scale out blockchains with asynchronous consensus zones. In: 2019 USENIX 16th Symposium on Networked Systems Design and Implementation, NSDI 2019, pp. 95–112 (2019)
Zamani, M., Movahedi, M., et al.: Rapidchain: scaling blockchain via full sharding. In: Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, CCS 2018. pp. 931–948 (2018)
Zhang, Y., Pan, S., et al.: Txallo: dynamic transaction allocation in sharded blockchain systems. In: 2023 IEEE 39th International Conference on Data Engineering (ICDE), pp. 721–733 (2023)
Acknowledgments
This work was supported by National Key Research and Development Program of China (No. 2021YFB2700100), Shanghai “Science and Technology Innovation Action Plan” Project (No.23511100700) and Program of Shanghai Academic/Technology Research Leader (No. 23XD1401100).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Tang, H., Zhang, H., Zhang, Z., Zhang, Z., Jin, C., Zhou, A. (2024). Towards High-performance Transactions via Hierarchical Blockchain Sharding. In: Carretero, J., Shende, S., Garcia-Blas, J., Brandic, I., Olcoz, K., Schreiber, M. (eds) Euro-Par 2024: Parallel Processing. Euro-Par 2024. Lecture Notes in Computer Science, vol 14801. Springer, Cham. https://doi.org/10.1007/978-3-031-69577-3_26
Download citation
DOI: https://doi.org/10.1007/978-3-031-69577-3_26
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-69576-6
Online ISBN: 978-3-031-69577-3
eBook Packages: Computer ScienceComputer Science (R0)