当前位置:网站首页>降级和熔断总结
降级和熔断总结
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
边栏推荐
- Error message: b04access.00f eve'. Read of address 000001B4
- [leetcode refers to offer 27. Image of binary tree (simple)]
- 2.整理华子面经--2
- Common scenes of vector product in image
- CVPR2022 | 基于知识蒸馏的高效预训练
- ubutnu20安裝CenterNet
- Use 3080ti to run tensorflow GPU = 1 X version of the source code
- Oracle ora-01033: Oracle initialization or shutdown in progressprocess solution
- Database Experiment 3 data update experiment
- Pyuninstaller package exe cannot find the source code when running, function error oserror: could not get source code
猜你喜欢
Oracle updates the data of different table structures and fields to another table, and then inserts it into the new table
[※ leetcode refers to offer 32 - II. Print binary tree II from top to bottom (simple)]
Tsinghua University | webface260m: benchmark for million level deep face recognition (tpami2022)
MySQL 回表
[leetcode refers to the two numbers of offer 57. And S (simple)]
Display, move, rotate
opencv应用——以图拼图
Problem brushing plan -- dynamic programming (III)
Database Experiment 8 trigger experiment
延时消息常见实现方案
随机推荐
NVM introduction, NVM download, installation and use (node version management)
Hystrix断路器开启条件和流程以及默认备选处理
Ali has another "against the sky" container framework! This kubernetes advanced manual is too complete
[leetcode refers to offer 18. Delete the node of the linked list (simple)]
Is rust more suitable for less experienced programmers?
Express ③ (use express to write interface and cross domain related issues)
Introduction to tensorrt
opencv应用——以图拼图
[leetcode sword finger offer 10 - II. Frog jumping steps (simple)]
[leetcode refers to offer 27. Image of binary tree (simple)]
LabVIEW修改应用程序窗口外观
South Korea may ban apple and Google from offering commission to developers, the first in the world
Presto on spark supports 3.1.3 records
[leetcode refers to offer 22. The penultimate node in the linked list (simple)]
1.整理华子面经--1
Problem brushing plan -- dynamic programming (IV)
Echerts add pie chart random color
JS to get the browser and screen height
Ubutnu20 installer centernet
Reference of custom message in ROS function pack failed