yanglimingcn commented on PR #2819: URL: https://github.com/apache/brpc/pull/2819#issuecomment-2834123326
LGTM > > 如果确实希望epoll bthread 优先处理,把它启动的bthread_start_urgent变成可配置的bthread_start_urgent/background可行吗 > > 这里的bthread_start_urgent是精心设计的吧,cache局部性更优。 > > 直接配成bthread_start_backgruond好像不太合适,epoll bthread相当于独占线程了? > > 最后一个事件处理使用bthread_start_urgent,之前的事件处理使用bthread_start_backgruond,这样是不是好一点? @zhengJade @chenBright 我问一下,如果把epoll变成bthread_start_urgent和按照优先级队列处理epoll,最终执行的逻辑上看有什么区别呢? -- 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