feat(rust-client): run independent sync_state gRPC calls concurrently - #2420
Open
ricomateo wants to merge 6 commits into
Open
feat(rust-client): run independent sync_state gRPC calls concurrently#2420ricomateo wants to merge 6 commits into
sync_state gRPC calls concurrently#2420ricomateo wants to merge 6 commits into
Conversation
ricomateo
marked this pull request as ready for review
August 20, 2026 18:26
sync_state gRPC calls concurrently
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partially addresses #2361
Introduces the following changes to these
sync_statefunctions:fetch_sync_data:sync_notes_with_contentandsync_transactionsnow run concurrently instead of one after the other.account_state_sync: theget_accountrequests behindsync_public_accountsandverify_private_account_mismatchare issued in parallel, up to four in flight, instead of one at a time.Benchmarks against devnet with 4 tracked accounts show the sync completing about 21% faster than on
next. The benchmark exercised all thestate_syncRPC calls.Left as follow-up work: the issue suggested changing the NTL retrievals to make them run concurrently as well. This can be addressed in a follow-up PR.