yanglimingcn commented on issue #2507:
URL: https://github.com/apache/brpc/issues/2507#issuecomment-1895942738

   > 场景是:server中会处理一些io任务。每个pthread worker维护一个thread local 
IO_uring实例用于提交和收割IO,使用server收到rpc请求后直接基于bthread来处理,此时,对于每个pthread 
worker想维护一个定时任务,用于提交请求。 如果可以直接在server 处理逻辑对应的pthread上执行绑定的bthread任务,可以避免额外线程的创建
   
   为啥要一个定时器提交请求,收到rpc请求,直接提交到当前thread local的io_uring就可以了吧


-- 
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-unsubscr...@brpc.apache.org

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


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

Reply via email to