gydong commented on issue #1269:
URL: https://github.com/apache/incubator-brpc/issues/1269#issuecomment-713238580


   > 场景很简单:
   > 
   > 1. client连上了服务器并可以正常发rpc请求;
   >    2.服务器重启;
   >    3.client连接断开,自动尝试重连,用户无感知;
   >    4.服务器重启成功。
   >    5.回到步骤1
   > 
   > 主要是用户使用便利性方面的问题,用户client是不是需要自己去处理这种重连的问题?
   > 
   > 谢谢你及时回复。
   
   
你上面描述的场景,还是没有让我明白『需要发送请求时再连接』和『预先建立连接以备发送请求』对你的业务场景来说有什么区别?brpc框架的设计依据是,在用户发送请求的时候有连接可用即可,没必要把建立连接这一步操作暴露给用户。


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to