-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat(spooler): Add ability to partition the buffer into multiple ones #4291
Merged
Merged
Changes from 20 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fb8882d
Fix
iambriccardo 71fcbca
Fix
iambriccardo d35658b
Fix
iambriccardo 669143a
Fix
iambriccardo d804d6e
Fix
iambriccardo a9fe427
Fix
iambriccardo fec356a
Fix
iambriccardo 6444b93
Fix
iambriccardo d9549cd
Fix
iambriccardo 1366b67
Fix
iambriccardo e1ab41d
Fix
iambriccardo 0d680aa
Fix
iambriccardo 8fd4a2b
Fix
iambriccardo 5ebb0f6
Fix
iambriccardo 2be6c60
Fix
iambriccardo bfbb237
Fix
iambriccardo 3b2490d
Update relay-config/src/config.rs
iambriccardo e8ee1cf
Update relay-config/src/config.rs
iambriccardo d4cfdbb
try to unflake
jjbayer d59258b
unflake attempt 2
jjbayer dd642cd
Revert "unflake attempt 2"
jjbayer d0c364a
Revert "try to unflake"
jjbayer 73cea7d
test: disable memory check
jjbayer 006cc1e
more logs
jjbayer 4eedbe0
Revert "more logs"
jjbayer 0bc2873
Revert "test: disable memory check"
jjbayer 29e69fc
fix: Buffer should never sleep more than 1 second to avoid race condi…
jjbayer ff6b736
Merge branch 'master' into riccardo/feat/sharded-buffer
iambriccardo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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.
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.
I would change the interface of
PartitionedEnvelopeBuffer
to behave roughly likeObservableEnvelopeBuffer
behaved before. I.e. give it asend(..)
and ahas_capacity()
method, but not expose internals about partitioning.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.
I thought about this when designing the API, but it conflicted with how we access the buffer in the
queue_envelope
. I wanted to keep that logic like it is right now.