You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "wwbmmm (via GitHub)" <gi...@apache.org> on 2023/05/04 06:48:33 UTC
Re: [I] 在做task steal的时候多steal一些task (brpc)
wwbmmm commented on issue #2229:
URL: https://github.com/apache/brpc/issues/2229#issuecomment-1534174367
多拿任务之后,如果前面的任务执行时间过长,就会阻塞后面的任务。
想要在bthread任务创建非常频繁的情况下提高性能,一个解决方案是使用nosignal的方式创建多个bthread,然后再一次性执行bthread_flush进行通知
--
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