Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Slow Transaction Processing #2048

Open
YasirAzeem opened this issue Jan 23, 2019 · 11 comments
Open

Slow Transaction Processing #2048

YasirAzeem opened this issue Jan 23, 2019 · 11 comments

Comments

@YasirAzeem
Copy link

I set up 4 iroha nodes on GCP Compute Engine Instances.

Instances details are as follows:

1vCPU and 3.75 GB of RAM
Ubuntu 16.0 LTS

I used latest docker image for Iroha and ran irohad with sample config.docker with MST enabled

Here are the logs for irohad with verbosity 3
log.txt

Each transaction takes around 40-50 seconds to commit. I am using Python SDK to push transactions to network and to check the status of the transaction.

@l4l l4l added the needs-review pr awaits review from maintainers label Jan 23, 2019
@YasirAzeem
Copy link
Author

Here are the status logs sent to one peer and tx status from that same peer. As it can be seen, its taking too much time.
iroha_logs_rc2.txt

@igor-egorov igor-egorov removed the needs-review pr awaits review from maintainers label Feb 4, 2019
@igor-egorov
Copy link
Contributor

Hello @YasirAzeem, please check that you did not send a hundred of transactions with max_proposal_size set to ten. If so, try to increase max_proposal_size and check.

Please reply if the issue has been solved or it is still here.

@YasirAzeem
Copy link
Author

YasirAzeem commented Feb 4, 2019 via email

@YasirAzeem
Copy link
Author

@igor-egorov Issue is still there even with the new merge into master/latest branch. Still slow processing. Same logs.

@neewy
Copy link
Contributor

neewy commented Feb 5, 2019

@YasirAzeem which client library do you use?

@neewy
Copy link
Contributor

neewy commented Feb 5, 2019

Now I see that you are using python SDK

@YasirAzeem
Copy link
Author

Yes Python SDK present in example the one with prepare.sh

@neewy
Copy link
Contributor

neewy commented Feb 6, 2019

@YasirAzeem sorry, but we are abandoning the support of code-generated libs. You can find a new library here: hyperledger-iroha/iroha#2028

Here is the video with a screencast on how to use this new library: https://www.youtube.com/watch?v=PN7WoLReDs4&frags=pl%2Cwn
This new library will be available soon at https://github.com/hyperledger/iroha-python/tree/develop repo

@YasirAzeem
Copy link
Author

I don't think its the problem of the library as you can see from the logs file I sent, other nodes don't even have the transaction until a few seconds have elapsed. They show status as if there hasn't received it at all but after a few seconds all nodes accept it. Its all there is on Irohad logs as well. Those are also attached.

@YasirAzeem
Copy link
Author

@neewy Are you sure its only old Python SDK issue? It doesn't seem like that.

@sudomann
Copy link

@YasirAzeem Are you still having this problem with rc4?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants