当前位置:网站首页>降级和熔断总结
降级和熔断总结
2022-04-23 21:57:00 【Leon_Jinhai_Sun】
# 1.共同点
- 目的很一致,都是从可用性可靠性着想,为防止系统的整体缓慢甚至崩溃,采用的技术手段;
- 最终表现类似,对于两者来说,最终让用户体验到的是某些功能暂时不可达或不可用;
- 粒度一般都是服务级别,当然,业界也有不少更细粒度的做法,比如做到数据持久层(允许查询,不允许增删改);
- 自治性要求很高,熔断模式一般都是服务基于策略的自动触发,降级虽说可人工干预,但在微服务架构下,完全靠人显然不可能,开关预置、配置中心都是必要手段;sentinel
# 2.异同点
- 触发原因不太一样,服务熔断一般是某个服务(下游服务)故障引起,而服务降级一般是从整体负荷考虑;
- 管理目标的层次不太一样,熔断其实是一个框架级的处理,每个微服务都需要(无层级之分),而降级一般需要对业务有层级之分(比如降级一般是从最外围服务边缘服务开始)
# 3.总结
- 熔断必会触发降级,所以熔断也是降级一种,区别在于熔断是对调用链路的保护,而降级是对系统过载的一种保护处理
版权声明
本文为[Leon_Jinhai_Sun]所创,转载请带上原文链接,感谢
https://blog.csdn.net/leon_jinhai_sun/article/details/124334778
边栏推荐
- 2022-04-24日報:在生物科學領域應用深度學習的當前進展和開放挑戰
- Opencv application -- jigsaw puzzle
- C # problem of updating data: dynamic SQL generation is not supported for multiple base tables
- Chrome 94 introduces the controversial idle detection API, which apple and Mozilla oppose
- Plato Farm元宇宙IEO上线四大,链上交易颇高
- How Axure installs a catalog
- Preliminary analysis of Airbase
- Centos7 builds MySQL master-slave replication from scratch (avoid stepping on the pit)
- [leetcode refers to offer 52. The first common node of two linked lists (simple)]
- Tensorflow realizes gradient accumulation, and then returns
猜你喜欢

Arm architecture assembly instructions, registers and some problems


Hystrix断路器开启条件和流程以及默认备选处理

Echerts add pie chart random color

Lightweight project management ideas

C reads excel specific data into specific columns of DataGridView

Express ③ (use express to write interface and cross domain related issues)

SSH in win10

C, print the source program of beautiful bell triangle

2.整理华子面经--2
随机推荐
Xiaomi mobile phone has abandoned the "Mi" brand all over the world and switched to the full name brand of "Xiaomi"
DW basic course (II)
South Korea may ban apple and Google from offering commission to developers, the first in the world
presto on spark 支持3.1.3记录
2022-04-24日報:在生物科學領域應用深度學習的當前進展和開放挑戰
The DNN of OpenCV is used to read onnx as the prediction end to realize classification
Code cloud download history version process
What if Jenkins forgot his password
C language programming based on loop structure (PTA)
When pycharm debugs, view the tensor image of pytorch in the console
Automatic heap dump using MBean
使用mbean 自动执行heap dump
C winfrom DataGridView click on the column header can not automatically sort the problem
MySQL back to table
[※ leetcode refers to offer 46. Translate numbers into strings (medium)]
April 24, 2022 Daily: current progress and open challenges of applying deep learning in the field of Bioscience
openfeign集成Hystrix的备选方案处理
从严从重从快 上海全面加强疫情期间食品安全监管
Question brushing plan - depth first search DFS (I)
[※ leetcode refers to offer 48. The longest substring without repeated characters (medium)]