We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The nonblocking RPC client has a tendency to serialize network calls unnecessarily, making the whole client slower than needed.
For example, see
agave/rpc-client/src/nonblocking/rpc_client.rs
Lines 683 to 694 in 64a8871
In that example, the first two network calls can happen concurrently, since they have no relation to each other. We should rather join! those two futures using https://docs.rs/futures/latest/futures/macro.join.html
join!
And there are likely many more examples like this throughout the rpc-client.
The text was updated successfully, but these errors were encountered:
alannza
No branches or pull requests
Problem
The nonblocking RPC client has a tendency to serialize network calls unnecessarily, making the whole client slower than needed.
For example, see
agave/rpc-client/src/nonblocking/rpc_client.rs
Lines 683 to 694 in 64a8871
Proposed Solution
In that example, the first two network calls can happen concurrently, since they have no relation to each other. We should rather
join!
those two futures using https://docs.rs/futures/latest/futures/macro.join.htmlAnd there are likely many more examples like this throughout the rpc-client.
The text was updated successfully, but these errors were encountered: