vinllen opened a new issue, #1753: URL: https://github.com/apache/incubator-brpc/issues/1753
**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 跟[#733](https://github.com/apache/incubator-brpc/pull/733)需求一致。 场景:客户端跟服务端连接,服务端异常退出后,客户端无法感知服务端退出了,只能等到request timeout周期才会返回,这对上层应用来说延迟就比较大。比如request timeout是5秒,那至少要等5秒才知道服务端挂了,如果有tcp keepalive探测周期,比如定期1秒探测,可以在1-2秒内就能知道服务端挂了,上层应用可以快速failover。 **Describe the solution you'd like (描述你期望的解决方法)** 开启tcp keepalive gflag **Describe alternatives you've considered (描述你想到的折衷方案)** **Additional context/screenshots (更多上下文/截图)** -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
