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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to