phye opened a new issue #705: Received request 慢问题 URL: https://github.com/apache/incubator-brpc/issues/705 Hi, 根据server_debug 文档,峰值 bthread_worker_usage (12)远小于 bthread_worker_count(24),process_cpu_usage 11.7左右,也远小于system_core_count(48),但是此时却发现server端QPS无法进一步提升,查看rpcz发现请求收的很慢。想问一下这样现象的可能原因是什么呢? PS:服务这里有比较重的计算逻辑,单个请求处理完成,需要耗时50ms左右,但是现在发现QPS到了200就上不去了,理论上应该有 1/0.05 * 24 ~= 480 才对。 Thanks! ```log [root@9 /data/home/phye/ws/]# curl http://127.0.0.1:50053/rpcz?trace=faad30c0c260147d 2019/03/27-17:38:03.188328 Received request(25035) from 9.43.176.143:47599 baidu_std log_id=0 trace=faad30c0c260147d span=a3885e8717f01393 parent_span=6a1eef85f6e13cf2 17:38:03.307673 .119345 Processing the request in a new bthread 17:38:03.309096 . 1423 Enter phye.RPCCall 17:38:03.367399 . 58303 Leave phye.RPCCall 17:38:03.367599 . 200 Responded(2664) ```
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
