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/08/01 04:03:20 UTC

[GitHub] [incubator-brpc] ustccy edited a comment on issue #1177: epoll_wait协程about_to_quit=true导致时延上升

ustccy edited a comment on issue #1177:
URL: https://github.com/apache/incubator-brpc/issues/1177#issuecomment-661605818


   疑问1:about_to_quit大部分在一次rpc调用协程结束时设置,完成后该协程不是会立即退出么?那设置这个标记位的意义还有多少
   疑问2:EPOLLOUT|EPOLLERR事件由epoll_wait协程同步处理,会执行到controller::IssueRPC,该函数的处理耗时直接影响了epoll_wait的整体处理时延,如果较慢就会导致后续事件耗时变大,上游感知的调用时延上升,另起协程处理是否更合理。需要处理好同一fd多个事件处理的并发问题


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