Hi Sanjay / Grpc team,
I have implemented RPC based regular pings. Like I am sending some dummy request each minute to LB once connected from client side.
I observed below :
a) This method works fine if there is no request from the server side. This way the connection is alive for many hours without issues.
b) But this method doesn't work if there is some bi-directional request from the server. The moment it receives a response from server, the connections is dropped from LB after exactly 5 mins, even if I am sending a regular dummy request from the client side every minute.
I also checked the server logs the dummy request is being received every min, which means client is sending regular 1 min ping, but still LB is dropping the connection.
While in case there is no response from server side, the connection is not dropped by LB.
Can you please help me what grpc / LB might be doing in both cases ?