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

Add configurable GrpcMaxConnectionAge, GrpcMaxConnectionAgeGrace #288

Merged

Conversation

lmajercak-wish
Copy link
Contributor

@lmajercak-wish lmajercak-wish commented Sep 7, 2021

Server-side configuration of MaxConnectionAge, MaxConnectionAgeGrace is needed to achieve better load balancing behavior in auto-scaled scenarios: grpc/grpc#12295 (comment)

Signed-off-by: lmajercak-wish <lmajercak@wish.com>
Signed-off-by: lmajercak-wish <lmajercak@wish.com>
@lmajercak-wish lmajercak-wish force-pushed the lmajercak_grpc_connection_settings branch from 6a56f0c to e150dae Compare September 7, 2021 19:58
…xtLogic/ratelimit into lmajercak_grpc_connection_settings
Signed-off-by: lmajercak-wish <lmajercak@wish.com>
@ysawa0 ysawa0 self-assigned this Sep 8, 2021
@ysawa0
Copy link
Member

ysawa0 commented Sep 8, 2021

Changes makes sense to me. Could you add docs about the new settings in the README and maybe some simple tests? Thanks!
/wait

Signed-off-by: lmajercak-wish <lmajercak@wish.com>
@lmajercak-wish
Copy link
Contributor Author

Changes makes sense to me. Could you add docs about the new settings in the README and maybe some simple tests? Thanks!
/wait

Added to the README. What are you thinking for the unit test?

Signed-off-by: lmajercak-wish <lmajercak@wish.com>
@ysawa0
Copy link
Member

ysawa0 commented Sep 10, 2021

I was going to suggest adding a simple integration test but it's already being tested via the default values so I guess this is fine. The defaults look sane as well. Will go ahead and merge, thanks!

@ysawa0 ysawa0 merged commit 568c537 into envoyproxy:main Sep 10, 2021
timcovar pushed a commit to goatapp/ratelimit that referenced this pull request Jan 16, 2024
…oyproxy#288)

* Add configurable GrpcMaxConnectionAge, GrpcMaxConnectionAgeGrace

Signed-off-by: lmajercak-wish <lmajercak@wish.com>

* Add configurable GrpcMaxConnectionAge, GrpcMaxConnectionAgeGrace

Signed-off-by: lmajercak-wish <lmajercak@wish.com>

* Fix fmt

Signed-off-by: lmajercak-wish <lmajercak@wish.com>

* Add to README

Signed-off-by: lmajercak-wish <lmajercak@wish.com>

* Fix README format

Signed-off-by: lmajercak-wish <lmajercak@wish.com>
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.

2 participants