Skip to content

Conversation

@the-mikedavis
Copy link
Collaborator

@the-mikedavis the-mikedavis commented Nov 3, 2025

In some consumption patterns, increasing the read-ahead limit can increase consumer throughput where currently the consumer is slower than the producer and falls behind (#14877). This change adds Cuttlefish config for the option in rabbitmq/osiris#198:

stream.read_ahead_limit = 8kiB

@the-mikedavis the-mikedavis self-assigned this Nov 3, 2025
@mergify mergify bot added the make label Nov 3, 2025
@michaelklishin michaelklishin changed the title Add stream.read_ahead_limit config option Optimization: make stream read-ahead limit configurable Nov 3, 2025
@michaelklishin michaelklishin added this to the 4.3.0 milestone Nov 3, 2025
@michaelklishin
Copy link
Collaborator

@the-mikedavis we cannot accept a PR that uses an Osiris fork but this optimization can go into mainline Osiris.

@the-mikedavis
Copy link
Collaborator Author

the-mikedavis commented Nov 3, 2025

Ah yeah, that part of the change is meant to be dropped / replaced when/if this can be added to a hex git-published version of Osiris

@the-mikedavis the-mikedavis force-pushed the configure-stream-read-ahead branch from 13d9905 to f40cecd Compare November 3, 2025 22:12
@the-mikedavis the-mikedavis marked this pull request as ready for review November 3, 2025 22:20
@michaelklishin michaelklishin merged commit 8325fb0 into rabbitmq:main Nov 3, 2025
290 of 291 checks passed
@the-mikedavis the-mikedavis deleted the configure-stream-read-ahead branch November 3, 2025 23:50
michaelklishin added a commit that referenced this pull request Nov 4, 2025
Optimization: make stream read-ahead limit configurable (backport #14888)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants