-
Notifications
You must be signed in to change notification settings - Fork 20.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed of RPC execution - speed of estimate gas execution - number of ethclient handles #21769
Comments
More info about eth calls in general can be found here: #21772 |
The bottleneck is most likely the EVM execution. Gas estimation is basically doing a binary search to find the smallest gas price where the tx still succeeds. Things like JSON parsing are not really relevant performance wise here. |
@ligi do you mean the loop run in |
Which loop are you referring too? |
This isn't really a bug report, rather a pretty vague set of questions, which have been mostly answered. Closing |
Several questions of which its hard to find any notes about
Looking for insight into how to increase the speed of execution of RPC calls - that is - does the size of the txn pool have any bearing on how quickly the RPC calls go through ? (assume IPC connection used) (wondering if dropping in https://github.com/valyala/fastjson would increase speed)
Or does the size of the txn pool have any bearing on the speed at which estimate gas goes through - is there any tip/trick to make estimate gas go faster? why is it so slow
What about the number of ethclient handles made? Is it better to have one handle with many queries that hit it up or to have many ethclients ?
The text was updated successfully, but these errors were encountered: