According to blockchain-performance-metrics, Probe is a web GUI application for Hyperledger Fabric mantianer, user, research. Recently, aims at providing a way to control both SUT and LGC to find the best block config logic for specific chaincode for specific fabric network. Meanwhile has a better understanding of how block config impacts performance.
Long term goal for Probe is a coordinator between Test Harness or LGC, SUT.
You can use Probe to ...HowToConfigFabricParameters
Sample run of Probe
npm install
curl -vsS https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash
some countries and regions. At this time, users can download the bootstrap.sh script then run it.
docker pull ghcr.io/hyperledger-twgc/tape
cp sample/prepareConfig.sh fabric-samples/test-network
npm start
localhost:3000/result/BatchTimeout
to see TPS relationship with BatchTimeoutlocalhost:3000/result/MaxMessageCount
to see TPS relationship with MaxMessageCountIf you want to try with docker usage, welcome to use
docker run -d --rm --name Probe -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/home/probe \ 19902439/probe:latest
it is based on alphine, and which means, you may need to make sure your minifab/fabric sample works instead, as install for configtxgen
or able to use docker in docker.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -s
)git push origin feature/AmazingFeature
)If your want to contribute Probe with new feature, bug fixing please create a new issue, of course with PR is best.
Also welcome for documentatoin, learning course, etc.
For development, please complete Quick start
above.
For Frontend, please use npm run build
.
For backend, please develop --DryRun
as mock for unit test and adding real cases in CI
Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file.
As discussed with TWGC performance work group, we found out that different block parameters, networks, chaincode language and chaincode logic having influence final TPS.
To answer, the best parameter for specific fabric network and fabric chaincode, this project been created.