当前位置:网站首页>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
边栏推荐
- Subcontracting of wechat applet based on uni app
- Centos7 builds MySQL master-slave replication from scratch (avoid stepping on the pit)
- Question brushing plan - depth first search (II)
- 2022 - 04 - 24 Daily: Current Progress and Open Challenges of Applied Deep Learning in Biological Sciences
- Detectron2 using custom datasets
- 在线Excel转CSV工具
- ERP function_ Financial management_ The difference between red and blue words in invoices
- Lightweight project management ideas
- Ensuring the quality of living materials and food safety in Shanghai
- C winfrom DataGridView click on the column header can not automatically sort the problem
猜你喜欢
Database experiment I database definition and data import
Hystrix组件
Question brushing plan - depth first search (II)
Pycharm Chinese plug-in
QT QML component library records owned by QML except basic components
airbase 初步分析
Database Experiment 8 trigger experiment
Hystrix简介和服务端熔断的实现
OpenFeign之响应处理
SSH in win10
随机推荐
Oracle ora-01033: Oracle initialization or shutdown in progressprocess solution
1. Finishing huazi Mianjing -- 1
IOT design and development
Sqlserver edits data in the query interface (similar to Oracle's edit and ROWID)
setInterval、setTimeout、requestAnimationFrame
LabVIEW修改应用程序窗口外观
C reads excel specific data into specific columns of DataGridView
一文解决浏览器跨域问题
DW basic tutorial (I)
MySQL 回表
JUnit unit test ---- a good tool for testing a single method
Question brushing plan -- backtracking method (I)
A series of problems of C DataGridView binding list
C list data paging
MySQL back to table
Yolov5 NMS source code understanding
[leetcode refers to offer 10 - I. Fibonacci sequence (simple)]
OpenFeign的参数传递之数组和集合类型
Deep understanding of modern mobile GPU (continuously updating)
ERP function_ Financial management_ The difference between red and blue words in invoices