当前位置:网站首页>Ribbon负载均衡策略
Ribbon负载均衡策略
2022-04-23 21:58:00 【Leon_Jinhai_Sun】
# 1.ribbon负载均衡算法
- RoundRobinRule 轮训策略 按顺序循环选择 Server
- RandomRule 随机策略 随机选择 Server
- AvailabilityFilteringRule 可用过滤策略
`会先过滤由于多次访问故障而处于断路器跳闸状态的服务,还有并发的连接数量超过阈值的服务,然后对剩余的服务列表按照轮询策略进行访问
- WeightedResponseTimeRule 响应时间加权策略
`根据平均响应的时间计算所有服务的权重,响应时间越快服务权重越大被选中的概率越高,刚启动时如果统计信息不足,则使用
RoundRobinRule策略,等统计信息足够会切换到
- RetryRule 重试策略
`先按照RoundRobinRule的策略获取服务,如果获取失败则在制定时间内进行重试,获取可用的服务。
- BestAviableRule 最低并发策略
`会先过滤掉由于多次访问故障而处于断路器跳闸状态的服务,然后选择一个并发量最小的服务
版权声明
本文为[Leon_Jinhai_Sun]所创,转载请带上原文链接,感谢
https://blog.csdn.net/leon_jinhai_sun/article/details/124225897
边栏推荐
- 上海确保疫情保供生活物资质量和食品安全
- DW basic course (II)
- [leetcode refers to the maximum profit of offer 63. Stock (medium)]
- SSH in win10
- Arm architecture assembly instructions, registers and some problems
- 2022 - 04 - 24 Daily: Current Progress and Open Challenges of Applied Deep Learning in Biological Sciences
- airbase 初步分析
- Opencv application -- jigsaw puzzle
- [leetcode refers to offer 22. The penultimate node in the linked list (simple)]
猜你喜欢
Cancel the default open project setting of idea
Express ③ (use express to write interface and cross domain related issues)
Amazon and epic will be settled, and the Microsoft application mall will be opened to third parties
[leetcode refers to the maximum profit of offer 63. Stock (medium)]
Database Experiment 8 trigger experiment
[leetcode refers to offer 22. The penultimate node in the linked list (simple)]
微服务系统中服务降级
1. Finishing huazi Mianjing -- 1
Echerts add pie chart random color
Yolov5 NMS source code understanding
随机推荐
2022-04-24日报:在生物科学领域应用深度学习的当前进展和开放挑战
Database Experiment 3 data update experiment
LabVIEW修改应用程序窗口外观
Subcontracting of wechat applet based on uni app
Idea import a project
OpenFeign超时设置
This paper solves the cross domain problem of browser
openfeign集成Hystrix的备选方案处理
Two Stage Detection
Hystrix断路器开启条件和流程以及默认备选处理
Reference of custom message in ROS function pack failed
服务雪崩、服务熔断、服务降级
C language programming based on loop structure (PTA)
JUnit unit test ---- a good tool for testing a single method
Colon function and explicit keyword in constructor
Mixed use of Oracle column row conversion and comma truncated string
Getting started with detectron2
[leetcode refers to offer 27. Image of binary tree (simple)]
openFeign 服务调用
[leetcode sword finger offer 28. Symmetric binary tree (simple)]