Huixxi commented on issue #2437:
URL: https://github.com/apache/brpc/issues/2437#issuecomment-2477955173

   > 这个后来弄明白了,这块的逻辑在baidu_rpc_protocol.cpp的SendRpcResponse。 
bvar中的latency是在ConcurrencyRemover析构的时候统计,但是由于析构顺序需要等req和res先析构完再统计,导致这里的时间比实际发送出去的时间要长。
   
   所以是不是bvar这里的上报逻辑需要优化一下。


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

Reply via email to