当前位置:网站首页>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
边栏推荐
- Hystrix components
- [※ leetcode refers to offer 32 - II. Print binary tree II from top to bottom (simple)]
- presto on spark 支持3.1.3记录
- DW basic tutorial (I)
- 21. Basic usage of MariaDB
- Leaf Smecta
- 【SDU Chart Team - Core】SVG属性类设计之枚举
- 2022-04-24日報:在生物科學領域應用深度學習的當前進展和開放挑戰
- [leetcode sword finger offer 28. Symmetric binary tree (simple)]
猜你喜欢

Hystrix组件

![[leetcode refers to offer 25. Merge two sorted linked lists (simple)]](/img/7b/b31b1a128e8b48c56493131e0f26c5.png)
[leetcode refers to offer 25. Merge two sorted linked lists (simple)]
![[leetcode refers to offer 52. The first common node of two linked lists (simple)]](/img/bc/cd9c6ec29ecfef74940200e196aed3.png)
[leetcode refers to offer 52. The first common node of two linked lists (simple)]
![[leetcode refers to offer 27. Image of binary tree (simple)]](/img/65/85e63a8b7916af058d78d72d775530.png)
[leetcode refers to offer 27. Image of binary tree (simple)]

Question brushing plan - depth first search (II)

Chrome 94 introduces the controversial idle detection API, which apple and Mozilla oppose

Problem brushing plan -- dynamic programming (IV)

C reads excel specific data into specific columns of DataGridView

Hystrix简介和服务端熔断的实现
随机推荐
[leetcode sword finger offer 28. Symmetric binary tree (simple)]
Pipes and xargs
Arm architecture assembly instructions, registers and some problems
【SDU Chart Team - Core】SVG属性类设计之枚举
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:stripDe
[※ leetcode refers to offer 46. Translate numbers into strings (medium)]
Question brushing plan - depth first search (II)
Alibaba cloud responded to the disclosure of user registration information
Introduction to tensorrt
Is rust more suitable for less experienced programmers?
QT QML component library records owned by QML except basic components
JS prototype and prototype chain
IOT design and development
延时消息常见实现方案
Hystrix断路器开启条件和流程以及默认备选处理
MySQL 回表
Pycharm download and installation
[SDU chart team - core] enumeration of SVG attribute class design
YOLOv5 Unable to find a valid cuDNN algorithm to run convolution
C reads excel specific data into specific columns of DataGridView