Skip to content
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

Change the default value of maxMessagePerRead to 16 in ChannelMetadata #13680

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

normanmaurer
Copy link
Member

Motivation:

We used 1 as the default value for maxMessagesPerRead in ChannelMetadata which is a very bad default for performance reasons. Because of this we usually explicit use 16 when constructing it. To eliminate problems when we forgot to do so let's use 16 as default.

Modifications:

Change default to 16

Result:

Better performance by default

Motivation:

We used 1 as the default value for maxMessagesPerRead in ChannelMetadata which is a very bad default for performance reasons. Because of this we usually explicit use 16 when constructing it. To eliminate problems when we forgot to do so let's use 16 as default.

Modifications:

Change default to 16

Result:

Better performance by default
@normanmaurer normanmaurer added this to the 4.1.101.Final milestone Nov 2, 2023
@normanmaurer normanmaurer merged commit 5a98214 into 4.1 Nov 2, 2023
12 of 14 checks passed
@normanmaurer normanmaurer deleted the metadata_default branch November 2, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants