Abstract
For the existing permissioned blockchain system, consensus nodes process not only query requests but also write requests, which make themselves in a heavy workload that reduce the system’s performance. In this paper, we propose an efficient architecture which separates part of the query tasks from the consensus nodes to the secondary nodes, and present EQblockchain, a permissioned blockchain system following this architecture, to solve the problem mentioned above. EQblockchain divides transactions into two types: one is read-transactions, the other is write-transactions. We describe how query requests, i.e., read-transactions, are processed by the consensus nodes and the secondary nodes and how write requests update the blockchain state. Because the read-transactions are processed by the consensus nodes and secondary nodes, the system throughput is significantly increased. Besides, EQblockchain constructs a few inverted indexes to support range query, which also enhances the query ability. Furthermore, we conduct several experiments to show that EQblockchain not only has efficient performance in query-heavy workload but also slightly improves the throughput of the write requests, and really has good range query ability in comparison to the baseline.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Amiri, M.J., Agrawal, D., El Abbadi, A.: On sharding permissioned blockchains. In: 2019 IEEE International Conference on Blockchain (Blockchain), pp. 282–285. IEEE (2019)
Amiri, M.J., Agrawal, D., El Abbadi, A.: Parblockchain: Leveraging transaction parallelism in permissioned blockchain systems. In: 2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS), pp. 1337–1347. IEEE (2019)
Amiri, M.J., Agrawal, D., El Abbadi, A.: Sharper: sharding permissioned blockchains over network clusters. In: Proceedings of the 2021 International Conference on Management of Data, pp. 76–88 (2021)
Androulaki, E., et al.: Hyperledger fabric: a distributed operating system for permissioned blockchains. In: Proceedings of the Thirteenth EuroSys Conference, pp. 1–15 (2018)
Androulaki, E., Cachin, C., De Caro, A., Kokoris-Kogias, E.: Channels: horizontal scaling and confidentiality on permissioned blockchains. In: Lopez, J., Zhou, J., Soriano, M. (eds.) ESORICS 2018. LNCS, vol. 11098, pp. 111–131. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-99073-6_6
Dang, H., Dinh, T.T.A., Loghin, D., Chang, E.C., Lin, Q., Ooi, B.C.: Towards scaling blockchain systems via sharding. In: Proceedings of the 2019 International Conference on Management of Data, pp. 123–140 (2019)
Gorenflo, C., Golab, L., Keshav, S.: XOX fabric: a hybrid approach to blockchain transaction execution. In: 2020 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), pp. 1–9. IEEE (2020)
Kapritsos, M., Wang, Y., Quema, V., Clement, A., Alvisi, L., Dahlin, M.: All about eve:\(\{\)Execute-Verify\(\}\) replication for \(\{\)Multi-Core\(\}\) servers. In: 10th USENIX Symposium on Operating Systems Design and Implementation (OSDI 12), pp. 237–250 (2012)
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), pp. 583–598. IEEE (2018)
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, pp. 17–30 (2016)
Mao, X., Li, X., Guo, S.: A blockchain architecture design that takes into account privacy protection and regulation. In: Xing, C., Fu, X., Zhang, Y., Zhang, G., Borjigin, C. (eds.) WISA 2021. LNCS, vol. 12999, pp. 311–319. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-87571-8_27
Nakamoto, S., Bitcoin, A.: A peer-to-peer electronic cash system. Bitcoin. 4, 2 (2008). https://bitcoin.org/bitcoin.pdf
Qi, X., Zhang, Z., Jin, C., Zhou, A.: A reliable storage partition for permissioned blockchain. IEEE Trans. Knowl. Data Eng. 33(1), 14–27 (2020)
Ruan, P., Dinh, T.T.A., Lin, Q., Zhang, M., Chen, G., Ooi, B.C.: LineageChain: a fine-grained, secure and efficient data provenance system for blockchains. VLDB J. 30(1), 3–24 (2021)
Ruan, P., Loghin, D., Ta, Q.T., Zhang, M., Chen, G., Ooi, B.C.: A transactional perspective on execute-order-validate blockchains. In: Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, pp. 543–557 (2020)
Sharma, A., Schuhknecht, F.M., Agrawal, D., Dittrich, J.: Blurring the lines between blockchains and database systems: the case of hyperledger fabric. In: Proceedings of the 2019 International Conference on Management of Data, pp. 105–122 (2019)
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, pp. 931–948 (2018)
Acknowledgements
This work was supported by the National Natural Science Foundation of China (62172082, 62072084, 62072086), the Fundamental Research Funds for the central Universities (N2116008) and the Open Project Fund of Neusoft Corporation (NCBETOP2002).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Huang, X., Shen, D., Nie, T., Kou, Y., He, G., Xu, S. (2022). An Efficient Query Architecture for Permissioned Blockchain. In: Zhao, X., Yang, S., Wang, X., Li, J. (eds) Web Information Systems and Applications. WISA 2022. Lecture Notes in Computer Science, vol 13579. Springer, Cham. https://doi.org/10.1007/978-3-031-20309-1_61
Download citation
DOI: https://doi.org/10.1007/978-3-031-20309-1_61
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-20308-4
Online ISBN: 978-3-031-20309-1
eBook Packages: Computer ScienceComputer Science (R0)