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

feat: Add keepalive in grpc channelbuilder #2682

Merged
merged 3 commits into from
Nov 10, 2020
Merged

feat: Add keepalive in grpc channelbuilder #2682

merged 3 commits into from
Nov 10, 2020

Conversation

sushanb
Copy link
Contributor

@sushanb sushanb commented Nov 6, 2020

Since DIRECT_PATH KeepAlive configuration are loose compared to our keepalive configuration, I am omitting the DIRECTPATH configuration.

Sets KeepAlive timer to 30s (Google Frontends are configured limits keepalive calls at 30s by default. If used below 30s, grpc automatically increases keepalive time by 2x after too_many_ping commands).

Sets KeepAliveTimeout to 10s (conservative)

Sets keepAliveWithoutCalls to false as it can potentially increase load.

Parameters discussed with @ejona86

Fixes #2681

@sushanb sushanb requested a review from a team as a code owner November 6, 2020 00:32
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 6, 2020
@product-auto-label product-auto-label bot added the api: bigtable Issues related to the googleapis/java-bigtable-hbase API. label Nov 6, 2020
@ejona86
Copy link

ejona86 commented Nov 6, 2020

I'll note that keepAliveWithoutCalls==false is the default.

@kolea2 kolea2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 6, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 6, 2020
@kolea2 kolea2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 9, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 9, 2020
Copy link
Collaborator

@igorbernstein2 igorbernstein2 left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the googleapis/java-bigtable-hbase API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add keepalive in grpc channel for Bigtable client.
5 participants