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 2021/12/21 10:48:09 UTC
[GitHub] [incubator-brpc] cangfengzhs opened a new issue #1650: 有支持io_uring的计划吗?
cangfengzhs opened a new issue #1650:
URL: https://github.com/apache/incubator-brpc/issues/1650
bthread在读磁盘的时候会block整个线程,有没有计划引入io_uring然后采用异步IO的方式减少线程阻塞?
--
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 commented on issue #1650: 有支持io_uring的计划吗?
Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1650:
URL: https://github.com/apache/incubator-brpc/issues/1650#issuecomment-1002411930
bthread里面没有读磁盘的操作吧,你是指在bthread中运行的业务代码中进行了读磁盘的操作吗?
如果想减少阻塞,可以用异步的读,可以使用bthread_fd_wait来等待可读事件,等待过程中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-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