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 2020/12/28 10:40:12 UTC

[GitHub] [incubator-brpc] feng-y opened a new issue #1316: 基于baidu_std 协议时,server端需要知道这个rpc的超时时间

feng-y opened a new issue #1316:
URL: https://github.com/apache/incubator-brpc/issues/1316


   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   server 端会根据rpc 的剩余时间做快速退出或者一些降级的策略,比如mean 耗时是100ms,如果业务受到剩余不到50ms时时可以直接终止的
   
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   获取到 rpc的过期时间,或者剩余时间
   
   **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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-brpc] wwbmmm commented on issue #1316: 基于baidu_std 协议时,server端需要知道这个rpc的超时时间

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1316:
URL: https://github.com/apache/incubator-brpc/issues/1316#issuecomment-1080306434


   已支持,开启gflag baidu_std_protocol_deliver_timeout_ms之后,即可在server端通过timeout_ms()获取client端设置的值


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-brpc] wwbmmm closed issue #1316: 基于baidu_std 协议时,server端需要知道这个rpc的超时时间

Posted by GitBox <gi...@apache.org>.
wwbmmm closed issue #1316:
URL: https://github.com/apache/incubator-brpc/issues/1316


   


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-brpc] feng-y commented on issue #1316: 基于baidu_std 协议时,server端需要知道这个rpc的超时时间

Posted by GitBox <gi...@apache.org>.
feng-y commented on issue #1316:
URL: https://github.com/apache/incubator-brpc/issues/1316#issuecomment-752380334


   剩余时间


----------------------------------------------------------------
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



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


[GitHub] [incubator-brpc] gydong commented on issue #1316: 基于baidu_std 协议时,server端需要知道这个rpc的超时时间

Posted by GitBox <gi...@apache.org>.
gydong commented on issue #1316:
URL: https://github.com/apache/incubator-brpc/issues/1316#issuecomment-752392736


   我们评估下


----------------------------------------------------------------
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



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


[GitHub] [incubator-brpc] gydong commented on issue #1316: 基于baidu_std 协议时,server端需要知道这个rpc的超时时间

Posted by GitBox <gi...@apache.org>.
gydong commented on issue #1316:
URL: https://github.com/apache/incubator-brpc/issues/1316#issuecomment-752296557


   『过期时间』方案会依赖于机器间的时间同步,『剩余时间』则忽略了网络延迟和处理延迟的影响。过去我实践过『过期时间』方案,因为机器时间同步问题,没有得到最终应用。你的场景更倾向于哪种方案?


----------------------------------------------------------------
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



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