hyperledger性能测试工具tape

1. 计算latency, transactions per second (TPS)等:

https://github.com/Hyperledger-TWGC/tape/issues/146

2. ProposalResponsePayloads from Peers do not match问题:

make sure the chaincode returns in same result including read and write sets

https://github.com/Hyperledger-TWGC/tape/issues/131

3. error: unexpected config.yaml, try --help和rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings" 

确保config.yaml严格按照提供的样板(下载后的那个config.yaml里不全,要自己按照样板补全)

https://github.com/Hyperledger-TWGC/tape/issues/258

https://github.com/Hyperledger-TWGC/tape/blob/master/docs/zh/gettingstarted.md

https://github.com/Hyperledger-TWGC/tape/blob/master/docs/zh/configfile.md

4. 注意把发送交易数量设置为 batchsize (Fabric 中 Peer 节点的配置文件 core.yaml 中的参数,表示区块中包含的交易数量)的整倍数,这样最后一个区块就不会因为超时而出块了。 例如,如果区块中包含交易数设为500,那么发送交易数量就应该设为1000、40000、100000这样的值。

https://github.com/Hyperledger-TWGC/tape/blob/master/docs/zh/gettingstarted.md

查看区块中transaction数量:https://medium.com/coinmonks/modifying-the-batch-size-in-hyperledger-fabric-v2-2-3ec2dd779e2b

posted @ 2022-05-11 22:21  铸剑非攻  阅读(563)  评论(0)    收藏  举报