You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@brpc.apache.org by "yanglimingcn (via GitHub)" <gi...@apache.org> on 2026/05/11 07:56:17 UTC
Re: [I] 基于UB协议OBMM共享内存Transport方案设计 (brpc)
yanglimingcn commented on issue #3226:
URL: https://github.com/apache/brpc/issues/3226#issuecomment-4418607635
bthread调度:使用 butex 等待共享内存中的通知标志位,避免自旋消耗CPU;或配置为轮询模式(低延迟场景)。/
为什么需要改这个调度呢?
UBRingEpoll:基于OBMM实现的共享内存UBRingEpoll类,主要监听本地EventQ消息,当有新的数据包写入时会产生对应的事件通知到下游读方。
这个类是对接内核的Epoll吗?还是要模拟一个高性能的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: issues-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org