当前位置:网站首页>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
边栏推荐
- Colon function and explicit keyword in constructor
- Common scenes of vector product in image
- [leetcode refers to offer 22. The penultimate node in the linked list (simple)]
- 2. Finishing huazi Mianjing -- 2
- 2022 - 04 - 24 Daily: Current Progress and Open Challenges of Applied Deep Learning in Biological Sciences
- FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:stripDe
- NVM introduction, NVM download, installation and use (node version management)
- Two Stage Detection
- 服务雪崩效应
- [※ leetcode refers to offer 32 - II. Print binary tree II from top to bottom (simple)]
猜你喜欢
![[leetcode refers to offer 10 - I. Fibonacci sequence (simple)]](/img/f9/22a379f330c3ee21a2a386bbd4a98f.png)
[leetcode refers to offer 10 - I. Fibonacci sequence (simple)]
![[※ leetcode refers to offer 32 - II. Print binary tree II from top to bottom (simple)]](/img/df/2ee25fcc78758e125182b89d3ba8f2.png)
[※ leetcode refers to offer 32 - II. Print binary tree II from top to bottom (simple)]

Preliminary analysis of Airbase

LabVIEW修改应用程序窗口外观

2. Finishing huazi Mianjing -- 2

Error message: b04access.00f eve'. Read of address 000001B4

What if Jenkins forgot his password

Introduction to tensorrt

Based on jsplumb JS to achieve multi list one to many connection effect

Correction of date conversion format error after Oracle adds a row total
随机推荐
setInterval、setTimeout、requestAnimationFrame
C list data paging
[leetcode sword finger offer 28. Symmetric binary tree (simple)]
Tencent cloud has two sides in an hour, which is almost as terrible as one side..
DeNO 1.13.2 release
Strictly, severely and quickly strengthen food safety supervision during the epidemic in Shanghai
MySQL 回表
通过OpenFeign传递对象类型参数
Oracle updates the data of different table structures and fields to another table, and then inserts it into the new table
[leetcode refers to the maximum profit of offer 63. Stock (medium)]
微服务系统中服务降级
Database Experiment 8 trigger experiment
What if Jenkins forgot his password
Pytorch deep learning practice (2)
Pycharm Chinese plug-in
21. Basic usage of MariaDB
从严从重从快 上海全面加强疫情期间食品安全监管
Crisis is opportunity. Why will the efficiency of telecommuting improve?
This paper solves the cross domain problem of browser
hystrix dashboard的使用