Repository navigation
retransmit: replace rayon with worker pool - #15995
Merged
KirillLykov merged 1 commit intoOct 14, 2026
Merged
KirillLykov merged 1 commit into
KirillLykov merged 1 commit into
Conversation
Rayon adds unnecessary overhead and complexity to the code. This PR makes arguably minimal changes to do replace it with custom thread pool postponing other refactoring activities or the follow up PRs.
KirillLykov
force-pushed
the
klykov/retransmit-to-worker-pool-second
branch
from
October 12, 2026 17:53
968a94c to
82c2b97
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #15995 +/- ##
========================================
Coverage 82.2% 82.2%
========================================
Files 937 938 +1
Lines 372883 372954 +71
========================================
+ Hits 306654 306762 +108
+ Misses 66229 66192 -37 🚀 New features to boost your workflow:
|
alexpyattaev
self-requested a review
October 13, 2026 08:14
KirillLykov
marked this pull request as ready for review
October 13, 2026 08:28
|
The diff is correct (same as before sans batching change), but we need the measurement numbers from load testing here. |
Author
|
Can you collect data with fake-nodes patch as well? |
Author
alexpyattaev
approved these changes
Oct 14, 2026
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.


Problem
This is reapply of #15585, the difference is that
SIGVERIFY_SHRED_BATCH_SIZEis not changed. Instead, it is extracted into separate PR #15994Rayon adds unnecessary overhead and complexity to the code. This PR makes arguably minimal changes to do replace it with custom thread pool postponing other refactoring activities for the follow up PRs.
This PR also removes
RETRANSMIT_BATCH_SIZEcause restransmit already receives transactions in batches (up to 64 shreds) from sigverifySummary of Changes
Replace Rayon with custom thread pool.
Testing
Same as in #15585.
Plus extensively loaded to check that the channels between stages (fetch-sigver-retransmit) are not overloaded.