会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
甜菜波波
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
57
58
59
60
61
62
63
64
65
···
114
下一页
2018年9月5日
Ribbon重试机制与Hystrix熔断机制的配置问题1
摘要: Ribbon超时与Hystrix超时问题,为了确保Ribbon重试的时候不被熔断,我们就需要让Hystrix的超时时间大于Ribbon的超时时间,否则Hystrix命令超时后,该命令直接熔断,重试机制就没有任何意义了。 service-hi: ribbon: ReadTimeout: 2000 Co
阅读全文
posted @ 2018-09-05 10:29 甜菜波波
阅读(4900)
评论(0)
推荐(0)
2018年9月4日
zuul超时及重试配置
摘要: 配置实例
阅读全文
posted @ 2018-09-04 17:15 甜菜波波
阅读(1115)
评论(0)
推荐(0)
feginclinet中设置hystrix的参数
摘要: package com.example.demo; import com.netflix.hystrix.HystrixCommand; //import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; import com.netflix.hystrix.HystrixCommandGroupKey; impor...
阅读全文
posted @ 2018-09-04 16:03 甜菜波波
阅读(951)
评论(0)
推荐(0)
feignclient设置hystrix参数
摘要: 序 feign默认集成了hystrix,那么问题来了,如何像hystrix command那样设置每个方法的hystrix属性呢。 实例 FeignClientsConfiguration spring-cloud-netflix-core-1.2.6.RELEASE-sources.jar!/or
阅读全文
posted @ 2018-09-04 16:01 甜菜波波
阅读(4562)
评论(0)
推荐(0)
feginclient demo
摘要: 1.pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan
阅读全文
posted @ 2018-09-04 15:30 甜菜波波
阅读(457)
评论(1)
推荐(0)
Ribbon重试机制与Hystrix熔断机制的配置问题
摘要: Ribbon超时与Hystrix超时问题,为了确保Ribbon重试的时候不被熔断,我们就需要让Hystrix的超时时间大于Ribbon的超时时间,否则Hystrix命令超时后,该命令直接熔断,重试机制就没有任何意义了。 hystrix: command: default: execution: ti
阅读全文
posted @ 2018-09-04 14:38 甜菜波波
阅读(1031)
评论(0)
推荐(0)
feginclient和hystrix的配置
摘要: 1.如果设置了
阅读全文
posted @ 2018-09-04 14:08 甜菜波波
阅读(1067)
评论(0)
推荐(0)
Spring Cloud重试机制与各组件的重试总结
摘要: SpringCloud重试机制配置 首先声明一点,这里的重试并不是报错以后的重试,而是负载均衡客户端发现远程请求实例不可到达后,去重试其他实例。 ? 1 2 3 4 5 6 7 8 @Bean @LoadBalanced RestTemplate restTemplate() { HttpCompo
阅读全文
posted @ 2018-09-04 13:48 甜菜波波
阅读(931)
评论(0)
推荐(1)
Hystrix的用法demo
摘要: 1.引入依赖
阅读全文
posted @ 2018-09-04 10:36 甜菜波波
阅读(354)
评论(0)
推荐(0)
2018年9月3日
Spring Cloud心跳监测
摘要: Spring Cloud实现心跳监测,在服务注册和停止时,注册中心能得到通知,并更新服务实例列表 Spring Cloud注册中心添加配置: eureka.server.enable-self-preservation=false Spring Cloud服务提供者添加配置: eureka.inst
阅读全文
posted @ 2018-09-03 22:38 甜菜波波
阅读(2916)
评论(0)
推荐(0)
上一页
1
···
57
58
59
60
61
62
63
64
65
···
114
下一页
公告