Skip to content
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

eth_getTransactionCount high latency #210

Open
adrianchiforwm opened this issue Nov 29, 2022 · 0 comments
Open

eth_getTransactionCount high latency #210

adrianchiforwm opened this issue Nov 29, 2022 · 0 comments

Comments

@adrianchiforwm
Copy link

Hi @splix , we're consistently seeing eth_getTransactionCount response times of above 500ms, while the same call to geth takes 50ms. We tried disabling the call for nodes outside the LB region but it didn't make a big difference.

https://github.com/emeraldpay/dshackle/blob/master/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt#L97

Looks like NonceQuorum needs to confirm with at least 3 upstreams before responding, would it be possible to make this configurable or change it to something more sensible like NotLaggingQuorum(0) ? so it's consistent with eth_getBalance and eth_blockNumber.

vdoflip pushed a commit to jit-strategies/dshackle that referenced this issue Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant