Handling Conditional Queries on Hyperledger Fabric Efficiently

As a popular consortium blockchain platform, Hyperledger Fabric has received increasing attention recently. When conducting quer-ies that meet some specific conditions on such platform, we need to search ledger data which usually has multiple attributes. Although efficiently handling conditional queries can be leveraged to support various use-cases, it presents significant challenges as data on Hyperledger Fabric is organized on file-system and exposed via limited API. To tackle the problem, we propose the following novel methods in this paper. In the first one, we use all conditions of the query to create composite keys before executing it. To further improve the performance of conditional queries on Fabric, we build an index called AUP in the second method, where we also study the update of AUP during transactions. The extensive experiments conducted on the real-world dataset demonstrate that the proposed methods can achieve high performance in terms of efficiency and memory cost.

[1]  Stefan Poslad,et al.  Block-Based Access Control for Blockchain-Based Electronic Medical Records (EMRs) Query in eHealth , 2018, 2018 IEEE Global Communications Conference (GLOBECOM).

[2]  Suporn Pongnumkul,et al.  Performance Analysis of Private Blockchain Platforms in Varying Workloads , 2017, 2017 26th International Conference on Computer Communication and Networks (ICCCN).

[3]  Hubert Ritzdorf,et al.  On the Security and Performance of Proof of Work Blockchains , 2016, IACR Cryptol. ePrint Arch..

[4]  Qingju Wang,et al.  When Intrusion Detection Meets Blockchain Technology: A Review , 2018, IEEE Access.

[5]  Beng Chin Ooi,et al.  BLOCKBENCH: A Framework for Analyzing Private Blockchains , 2017, SIGMOD Conference.

[6]  Steve Omohundro,et al.  Cryptocurrencies, smart contracts, and artificial intelligence , 2014, SIGAI.

[7]  Sameep Mehta,et al.  On Building Efficient Temporal Indexes on Hyperledger Fabric , 2018, 2018 IEEE 11th International Conference on Cloud Computing (CLOUD).

[8]  Sameep Mehta,et al.  Efficiently Processing Temporal Queries on Hyperledger Fabric , 2018, 2018 IEEE 34th International Conference on Data Engineering (ICDE).

[9]  Zibin Zheng,et al.  An Overview of Blockchain Technology: Architecture, Consensus, and Future Trends , 2017, 2017 IEEE International Congress on Big Data (BigData Congress).

[10]  Stefan Poslad,et al.  Blockchain Support for Flexible Queries with Granular Access Control to Electronic Medical Records (EMR) , 2018, 2018 IEEE International Conference on Communications (ICC).

[11]  Marko Vukolic,et al.  Hyperledger fabric: a distributed operating system for permissioned blockchains , 2018, EuroSys.

[12]  Balaji Viswanathan,et al.  Performance Benchmarking and Optimizing Hyperledger Fabric Blockchain Platform , 2018, 2018 IEEE 26th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS).

[13]  Marko Vukolic,et al.  The Quest for Scalable Blockchain Fabric: Proof-of-Work vs. BFT Replication , 2015, iNetSeC.

[14]  Elaine Shi,et al.  On Scaling Decentralized Blockchains - (A Position Paper) , 2016, Financial Cryptography Workshops.

[15]  Gang Chen,et al.  Untangling Blockchain: A Data Processing View of Blockchain Systems , 2017, IEEE Transactions on Knowledge and Data Engineering.

[16]  Iuon-Chang Lin,et al.  A Survey of Blockchain Security Issues and Challenges , 2017, Int. J. Netw. Secur..