You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am run benchmark with deployment/*.yaml,i have deployed 3 nodes with id 0/1/2.
then i wanna use bench client to send tx to mir nodes(compile src code in cmd/bench)
i play cmd: ../bin/bench client -i 0 -m ./membership.json -T 1m -v
then logs shows:
Connecting to node: 10.0.5.214:10000
Node connected. id=2 addr=10.0.5.214:10000
Submitting transaction #0
Submitting transaction #1
Could not close gRPC client 2
Error: failed sending transaction to nodes: [2] first error: EOF
I tried many times, all come out to that.
it seems like the bench client can only submit one tx then close the connection with mir node, next submit will failed becase the connection is already closed, is it right?
The text was updated successfully, but these errors were encountered:
Unfortunately, the bench client might be outdated and transactions can currently only be generated by the TxGen module from within the nodes. The code would probably need to be adapted to support external clients again.
When I runned benchmark with *.yaml and *.sh in deployment dir, especially deployment/scripts/run-new.sh, there is already used TxGen to send transactions to the Mir consensus network, and no need to additionally run cmd/bench/client to send transactions.
Is that right?
by the way, the reason I previously used cmd/bench/client was because I saw a throughput value of 0.4 in the benchmark results, and I suspected that I might not have actually sent any transactions to the consensus network.
Yes, that is right.
To adjust the load, the TxGen.NumClients option needs to be used, which configures to number of transaction-producing threads at each node's local transaction generator.
I am run benchmark with deployment/*.yaml,i have deployed 3 nodes with id 0/1/2.
then i wanna use bench client to send tx to mir nodes(compile src code in cmd/bench)
i play cmd:
../bin/bench client -i 0 -m ./membership.json -T 1m -v
then logs shows:
Connecting to node: 10.0.5.214:10000
Node connected. id=2 addr=10.0.5.214:10000
Submitting transaction #0
Submitting transaction #1
Could not close gRPC client 2
Error: failed sending transaction to nodes: [2] first error: EOF
I tried many times, all come out to that.
it seems like the bench client can only submit one tx then close the connection with mir node, next submit will failed becase the connection is already closed, is it right?
The text was updated successfully, but these errors were encountered: