apache / apache/servicecomb-java-chassis

业务刚启动,调用CSE超时

未关闭
#2,749 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.9k
派生
814
平均合并
8 天 23 小时
30 天内合并 PR
1

描述

org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger | slow(1000 ms) invocation, CONSUMER rest ai-dataservice:kvdat
a.kvdata.query:
http method: POST
url : xxxxx
server :xxxxx
status code: 200
total : 1000.1 ms
pre
pare : 0.13 ms
handlers request : 721.216 ms
client filters request : 0.44 ms
send request : 81.438 ms
get connection : 117.199
ms
write to buf : 81.489 ms
wait response : 197.86 ms
wake consumer : 0.24 ms
client filters response: 0.70 ms
handlers response
: 0.104 ms
2022-03-25 09:30:37.572 | [main] | INFO | org.apache.servicecomb.loadbalance.ExtensionsManager | Using load balance rule org.apache.servicecomb.loadbalance.WeightedResponseTimeRuleExt fo
r microservice ai-dataservice:entities.
2022-03-25 09:30:37.588 | [HwHivoice-OrchTask-299] | WARN | org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger | slow(1000 ms) invocation, CONSUMER rest ai-dataservice:kvda
ta.kvdata.query:
http method: POST
url : xxxxx
server :xxxxx
status code: 200
total : 1017.484 ms

prepare : 0.8 ms
handlers request : 668.114 ms
client filters request : 0.41 ms
send request : 124.616 ms
get connection : 92.17
8 ms
write to buf : 124.664 ms
wait response : 195.629 ms
wake consumer : 28.899 ms
client filters response: 0.82 ms
handlers response
: 0.91 ms

业务节点重启后,发现调用其他微服务超时,其他微服务并没有收到此消息,能看出来这个是阻塞在哪么

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 org.apache.servicecomb.metrics.core.publish.SlowInvocationLogger 的条目开始,比较报告中的各个计时阶段,然后查看 org.apache.servicecomb.loadbalance.ExtensionsManager 的消息,了解相关的启动行为。完成的标准是确定导致延迟的客户端阶段,以及远程服务未收到请求的原因;issue 中未指定源文件或测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。