Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.44 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.44 KB

Micro Benchmark Workload - Analytic

Description

This workload considers the performance of blockchain system in answering analytical queries about the historical data. Similar to an OLAP benchmark, this workload evaluates how the system implements scan-like and aggregate queries, which are determined by its data model. Specifically, we implement two queries for extracting statistics from the blockchain data:

  • Q1: Compute the total transaction values committed between block i and block j.

  • Q2: Compute the largest transaction value involving a given account between block i and block j.

For Ethereum and Parity the queries are implemented using JSON-RPC. Ethereum and Parity share the same driver. For Hyperledger we develop our own chaincode to implement the similar logic. To see more details, please refer to the README file in each individual directory for each system. For Fabric v1.4, we use chaincode to simulate monetary transactions and use NodeJS SDK to pull blocks for analysis. We do not provide the analytical workload for Fabric v2.2, as its NodeJS SDK no longers supports to pull blocks. It is because the package removes fabric-client module, as detailed here.

Details