Optimization: osiris_log: add reader config option for read-ahead limit#198
Conversation
|
Edit: yeah that would be nicer so we could pass in values like |
da7dfdf to
17ac73c
Compare
Previously the `READ_AHEAD_LIMIT` was a constant fixed at 4096. For some usage patterns setting the limit higher helps consumer throughput when the chunk size is medium/small - specifically streams published at medium throughput being consumed over a TLS connection.
17ac73c to
10ddb6a
Compare
|
Note: the default read-ahead limit is still |
|
I'm thinking this would have been an opportunity to combine the |
|
Ah yeah we could keep these both in the same option. Let me send some follow-up changes. We probably don't need to care about the semantic versioning so much in this dependency. But we could have the |
Previously the
READ_AHEAD_LIMITwas a constant fixed at 4096. For some usage patterns setting the limit higher helps consumer throughput when the chunk size is medium/small - specifically streams published at medium throughput being consumed over a TLS connection.See rabbitmq/rabbitmq-server#14877
I will make a follow-up in the server to add some Cuttlefish config for this.