You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (Jira)" <ji...@apache.org> on 2022/12/27 09:42:00 UTC
[jira] [Closed] (SCB-2729) test edge service for instance pull configurations
[ https://issues.apache.org/jira/browse/SCB-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liubao closed SCB-2729.
-----------------------
Resolution: Fixed
> test edge service for instance pull configurations
> --------------------------------------------------
>
> Key: SCB-2729
> URL: https://issues.apache.org/jira/browse/SCB-2729
> Project: Apache ServiceComb
> Issue Type: Task
> Components: Java-Chassis
> Reporter: liubao
> Priority: Major
> Fix For: java-chassis-2.9.0
>
>
> {code:java}
> servicecomb:
> service:
> registry:
> instance:
> watch: true # 打开 watch , 检测实例状态会更加实时
> healthCheck:
> interval: 10 # 适当降低心跳时间,实例感知会更加快
> boot:
> turnDown:
> # 实例状态修改为DOWN以后等待时间,默认值为0,即不等待。
> waitInSeconds: 30
> loadbalance:
> retryEnabled: true # 是否开启重试策略
> retryOnNext: 1 # 重新寻找一个实例重试的次数(不同于失败实例,依赖于负载均衡策略)
> retryOnSame: 0 # 在失败的实例上重试的次数
> isolation:
> enabled: true
> enableRequestThreshold: 5 # 统计周期内实例至少处理的请求数,包括成功和失败。
> singleTestTime: 60000 # 实例隔离后,经过这个时间,会尝试访问。如果访问成功,则取消隔离,否则继续隔离。
> continuousFailureThreshold: 2 # 实例隔离的条件,连续两次失败。
> {code}
> Test1: gateway retry work
> Test2: gateway instance isolation work
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)