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

Subtract 0-5% of max_stream_lifetime, when set; support unlimited max_stream_lifetime #23

Merged
merged 4 commits into from
Aug 24, 2023

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Aug 24, 2023

As discussed in grpc/grpc-go#6504, the client should add jitter when configuring max_connection_age_grace because we expect each stream will create a new connection. Since connection storms will not be spread automatically by gRPC in this case, apply client jitter.

Part of #6.

@jmacd jmacd requested a review from moh-osman3 August 24, 2023 13:49
@jmacd jmacd requested a review from lquerel as a code owner August 24, 2023 13:49
Copy link
Contributor

@lquerel lquerel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmacd jmacd merged commit c5e8224 into open-telemetry:main Aug 24, 2023
2 checks passed
@jmacd jmacd deleted the jmacd/client_jitter branch August 24, 2023 22:03
@jmacd jmacd mentioned this pull request Aug 25, 2023
jmacd added a commit that referenced this pull request Aug 25, 2023
Includes #13, #20, #21, #22, #23.
Releasing often - this makes it easier to integrate for `go.mod` users.
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.

3 participants