Add keepalive setting in client library. #408
Labels
api: bigtable
Issues related to the googleapis/java-bigtable API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Java grpc does not have keepalive configuration by default. It will use the kernel tcp default configuration as the values
Vals in seconds
Why Keepalive in GRPC Client
Keepalive is recommended to use when your peer dies before it is able to notify you or does not notify you. The reasons can be kernel panic, termination of the process handling that pee
Hence, if a server does not send GOAWAY to the client, the grpc client will send packets to the TCP peer but the TCP perr will not send any packets. This can happen when a server nodes goes down due to machine failure, release/rollouts.
As you noticed the tcp (unacknowledged , keepalive) times are in 5 mins and 2 hours, so the reasonable solution will be to add keepalive logic in client library.
Steps to reproduce
To reproduce the problem, run the following command on a gRPC client host:
The text was updated successfully, but these errors were encountered: