jiangdongzi commented on issue #1724:
URL: 
https://github.com/apache/incubator-brpc/issues/1724#issuecomment-1077330183


   > 你比较的是bthread vs. ”pthread线程池“,还是bthread vs. “纯异步"? 
pthread线程池的代价是一旦阻塞只能阻塞pthread,影响并发度(也就是pthread线程的个数),后者代码难写。bthread就是平衡一下这两者。
   
   我的认知里, 一直线程池与纯异步有相当的性能差距, 而协程与纯异步的差距很小, 所以看到bthead调度也是3us还是蛮失落的, 
戈神有测过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