yanglimingcn commented on PR #2215:
URL: https://github.com/apache/brpc/pull/2215#issuecomment-1562734266

   @wwbmmm @serverglen @chenBright 
我现在对这个feature又有一点思考,想和你们沟通一下,现在UserCodeThreadWorker是一个pthread线程,和brpc的worker是分离的。我想如果UserCodeThreadWorker是一个ExecutionQueue的话其实是可以共用brpc
 worker的。然后不同方法配置不同数量的ExecutionQueue,也就实现了不同方法对brpc 
worker的分配。这样的好处是用户的代码还是bthread上下文。缺点是阻塞的系统调用会阻塞worker,但是本身这就是bthread的性质。想听听你们的意见。


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