lorinlee commented on issue #1448: URL: https://github.com/apache/incubator-brpc/issues/1448#issuecomment-869033642
Hi @wuzhiguocarter ,请问延迟高,是只测了B调用A服务这一小块的延迟吧?没有包含任何B的业务逻辑,只有rpc调用的开销,需要先排除B业务逻辑的开销哈。 看有单独对A服务做压测,压测客户端是使用了brpc吗?压测期间在客户端看到的延迟是否正常? A服务耗时测的是哪部分的耗时,是否包括收到消息后的排队等待时间?B调用A的延迟avg和pct50是否也显著高于A服务本身的延迟? 网络调用链路其实是比较长的,延迟高可能是客户端机器负载不稳定,可能是网络不稳定,也可能是某些badcase导致长尾,情况很多。对于延迟高的情况,建议增加一些指标,或者通过抓网络包,先定位到哪个阶段慢,再具体排查是什么原因导致的 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
