yc1258 opened a new issue #1240:
URL: https://github.com/apache/incubator-brpc/issues/1240


   在server 
main函数开始调用了std::locale的global函数设置全局编码,会导致cpu消耗剧增,连接大量超时和拥堵。从流量进入时开始记录gperf,看热点集中在locale函数的锁的开销上。这个locale的global设置在老的ub框架下也在用,没有出现这种情况。想问下是否和brpc有关?或者有什么排查方向吗?非常感谢!
   
[ranker.pdf](https://github.com/apache/incubator-brpc/files/5200669/ranker.pdf)
   


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

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