-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Batch tpu calls in send-transaction-service #24083
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
05aa70c
WIP sending transaction in batches
lijunwangs a515683
Refactor code and eliminate side-effect
lijunwangs eea312c
Introduce batch send rate.
lijunwangs 4f01239
Handle retry rate in batch mode and make batch size configurable
lijunwangs 97bd598
Fixed a clippy warning
lijunwangs 81e65c7
Added logging for starting STS for better debug
lijunwangs b15eb0a
Added tpu changes to start scripts
lijunwangs d8631dd
Addressed some code review feedback from Trent
lijunwangs 72d3e25
Fixed rate checks for rpc-send-batch-ms and rpc-send-retry-ms
lijunwangs 0123d52
Fixed some fmt issues
lijunwangs 58d2564
FMT issue
lijunwangs 29e3bd2
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs 3d7153b
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs 9987f92
Refactor code
lijunwangs 62bba74
Changed multinode scripts to pass the batch send transaction parameters
lijunwangs fc02593
Added realistic max values for batch size and rate
lijunwangs 585c883
Fixed a few more review feedback
lijunwangs cfd7564
Fixed some clippy warnings
lijunwangs 628c45f
Fixed unit test failures
lijunwangs 8ac15b7
Fixed unit test failures
lijunwangs 9ede2cf
Fixed the test failure with nonce transactions being dropped pre-matu…
lijunwangs 22729dc
Fixed unit test failure related to nonce
lijunwangs 17313cb
Decouple retry from batch processing new txns
lijunwangs ee7d1c6
Ensure batch size honored from retry path
lijunwangs 44708b6
Removed unused import
lijunwangs 564bc34
Addressed some self review findings
lijunwangs d9476c3
Use common code for sending transactions. Also differentiate between …
lijunwangs fc9a871
fixed a bug adding to retry queue
lijunwangs 9993dd8
Fixed a comp issue
lijunwangs 1b9f650
Use async for batch.
lijunwangs e78a02a
Fixed local cluster test issue due to STS exit hung
lijunwangs 503e87d
Addressed some feedback from Trent, Pankaj and Ryan.
lijunwangs d73dcb0
Addressed some feedback from Trent
lijunwangs 11d7c3e
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs 48ab73e
Merge branch 'batch_tpu_calls' of github.com:lijunwangs/solana into b…
lijunwangs a7341b6
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs 704c969
Merge branch 'batch_tpu_calls' of github.com:lijunwangs/solana into b…
lijunwangs 697ea14
Fixed build issue
lijunwangs e439890
Addressed some feedback from Tyera
lijunwangs 9007a6e
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs 78f5285
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs afc760d
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs c8b4e9a
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs 023bd7b
Update send-transaction-service/src/send_transaction_service.rs
lijunwangs 2a88c62
Addressed more review feedback from Tyera
lijunwangs aca582a
Merge branch 'leader_info_refresher' into batch_tpu_calls
lijunwangs File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for plumbing these
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct @CriesofCarrots. This is a heuristic controls to avoid extreme configurations of the two parameters. It is not a full rate limiting implementation. That will require another PR to address.