ooibc88 / blockbench

BLOCKBENCH: A Framework for Analyzing Private Blockchains. Blockbench contains workloads for measuring the data processing performance, and workloads for understanding the performance of different layers of Blockchain systems.
https://www.comp.nus.edu.sg/~dbsystem/fabricsharp/#/blockbench
Apache License 2.0
391 stars 174 forks source link

Benchmark my own network with HyperLedger #66

Open ComeTiss opened 5 years ago

ComeTiss commented 5 years ago

Hey guys,

I am trying to use BlockBench as part of my Master thesis project and I am a bit lost right now... I currently have a single node network running with Raft consensus, using HyperLedger 1.4.1 with a smart contract written in Node. I am currently running the network on Windows 10 (using Kinematics & Docker Terminal to create a Linux VM). Is it possible to use this framework to benchmark my own network? If so, what would be the best procedure to follow?

I am a bit new to that and currently cannot get any of the micro/macro tests to work :( Any help would be greatly appreciated!

Thanks !!

RUAN0007 commented 5 years ago

Unfortunately, BLOCKBENCH currently is NOT compatible with HyperLedger v1.0+ onwards, as it requires blockchain system to have RESTFUL endpoint. However, Hyperledger v1.0 only provides Java and NodeJS SDK.

ComeTiss commented 5 years ago

thanks for the reply! Do you think it is still possible to use YCSB / any other macro benchmark test to measure a network performance (with Fabric 1.4)?

RUAN0007 commented 5 years ago

For benchmark Hyperledger, you may try to use Caliper. It provides chaincode that implements YCSB and Smallbank. Which macro benchmark to use is dependent on your own need.