You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/02/04 13:42:26 UTC
[GitHub] [servicecomb-java-chassis] huangdong-new opened a new issue #2229: EDGE性能问题咨询
huangdong-new opened a new issue #2229:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2229
使用CSE SDK的EDGE server模型,在做压测时,edge => 后端服务 => edge,当前发现后端服务 => edge这条线耗时很长,有耗时几秒的。
请问下,这个是因为缺少什么配置项导致的吗?
microservice配置如下:
servicecomb:
service:
registry:
address: https://10.33.213.172:30100
instance:
healthCheck:
interval: 10
times: 3
watch: true
diagnose:
interval: 12
rest:
address: 10.33.213.15:8087?sslEnabled=true&protocol=http2
server:
verticle-count: 32
client:
verticle-count: 32
connection:
maxPoolSize: 10
http2:
maxPoolSize: 10
idleTimeoutInSeconds: 60
loadbalance:
retryEnabled: true
retryOnNext: 2
retryOnSame: 0
isolation:
enabled: true
enableRequestThreshold: 20
errorThresholdPercentage: 20
singleTestTime: 10000
handler:
chain:
Provider:
default: authTokenHandler,hiCallAuthHandler,flowControlHandler,qps-flowcontrol-provider
Consumer:
default: authTokenHandler,hiCallAuthHandler,flowControlHandler,loadbalance
service:
dsc-voip-service: voipAuthHandler,flowControlHandler,loadbalance
dsc-trunk-service: flowControlHandler,loadbalance
flowcontrol:
Provider:
qps:
enabled: true
strategy: FixedWindow
global:
limit: 10000000
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2229: EDGE性能问题咨询
Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2229:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2229#issuecomment-774613144
耗时问题可以先通过打开 [metrics](https://docs.servicecomb.io/java-chassis/zh_CN/general-development/metrics/) 分析下耗时的环节, 然后再配合这个数据采用其他方式进一步分析,比如抓取堆栈、测试验证等。
----------------------------------------------------------------
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:
users@infra.apache.org