zhengJade commented on PR #2819:
URL: https://github.com/apache/brpc/pull/2819#issuecomment-2899730819

   > > > 我问一下,如果把epoll变成bthread_start_urgent和按照优先级队列处理epoll,最终执行的逻辑上看有什么区别呢?
   > > 
   > > 
   > > @yanglimingcn ”把epoll变成bthread_start_urgent“指的是哪部分?现在epoll 
bthread处理都是bthread_start_urgent处理读事件的吧。
   > 
   > 
我大概理解了,如果用bthread_start_background处理读事件,epoll会一直占有一个worker,这个PR不会让epoll一直占用一个worker,但是也会让epoll线程优先调度。
   
   是这样的,要让任务分在不同的 worker 而不能通过 steal 的方式


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