Integrate Osiris reader optimizations for streams#14189
Merged
acogoluegnes merged 3 commits intomainfrom Sep 22, 2025
Merged
Conversation
2ed6136 to
0b9973f
Compare
a4b08fd to
c0aef41
Compare
4a95db8 to
e3d6c66
Compare
e3d6c66 to
34b8900
Compare
6f7dcc5 to
1cdc9b9
Compare
bbfdcb0 to
fa82be8
Compare
b68415a to
8c5193d
Compare
This saves a system call by sending the frame header and the chunk header at the same time. References rabbitmq/osiris#192
Osiris can read ahead data in case of small chunks. This saves system calls and increases consumption rate dramatically for some streams. This is transparent for the stream protocol, but requires a small tweak for the stream queue type implementation (passing in the previous iterator when creating a new one). The read ahead is on by default but can be deactivated with to the new stream.read_ahead configuration entry (true / false). Co-authored-by: Karl Nilsson <kjnilsson@gmail.com> References rabbitmq/osiris#192
8c5193d to
025280e
Compare
acogoluegnes
added a commit
that referenced
this pull request
Sep 22, 2025
Integrate Osiris reader optimizations for streams (backport #14189)
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.
This PR integrates 2 optimizations from Osiris for stream consumption:
Requires to bump Osiris to 1.10.0.
References rabbitmq/osiris#192