You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/04/16 10:21:00 UTC

[GitHub] [incubator-brpc] zyearn commented on issue #731: A question about supporting TCP keepalive

zyearn commented on issue #731: A question about supporting TCP keepalive
URL: https://github.com/apache/incubator-brpc/issues/731#issuecomment-483601355
 
 
   Currently if client is abnormally down, and ServerOptions.idle_timeout_sec in server side is set properly, then the connection should be closed after idle_timeout_sec as expected.
   But problem happens when server is abnormally down, client would never know this situation if the connection type is single or short with no timeout until next rpc is sent to broken servers. If the connection type is short with timeout, connection would be closed after timeout is reached. The last case is pooled connection, which may not be the problem since it is controlled by FLAGS_idle_timeout_second.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org