utopia9527 opened a new issue, #2796: URL: https://github.com/apache/brpc/issues/2796
背景: 项目中有一个资源双buffer, 利用后台线程,改变buffer的下标(std::atomic_int) 来进行buffer切换, 遇到的问题: 在进行buffer切换时, 如果当前服务中有对其它服务的rpc调用耗时明显增加(比如 50ms 增加到 500ms) 耗时的增加周期和进行原子变量操作周期一致 进行的尝试: 1、怀疑切换竞争太多,在切换的时候,针对此动作进行了耗时监控,耗时可以忽略不计 2、怀疑CPU、线程 资源问题, 进行监控发现,没有关系,资源非常充足 求助: 请问还有什么排查的方向吗, 或者说这是个已知问题 -- 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.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