当前位置:网站首页>降级和熔断总结
降级和熔断总结
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
边栏推荐
- Database Experiment 5 Security Language Experiment
- 使用mbean 自动执行heap dump
- 一文解决浏览器跨域问题
- This paper solves the cross domain problem of browser
- Detectron2 usage model
- Normalized transforms in pytorch The real calculation process of normalize
- Tensorflow1. X and 2 How does x read those parameters saved in CKPT
- C# ftpHelper
- Strictly, severely and quickly strengthen food safety supervision during the epidemic in Shanghai
- [leetcode refers to offer 52. The first common node of two linked lists (simple)]
猜你喜欢

Pipes and xargs

C# ftpHelper

Question brushing plan - depth first search DFS (I)

1. Finishing huazi Mianjing -- 1

Tsinghua University | webface260m: benchmark for million level deep face recognition (tpami2022)

Minecraft 1.12.2 module development (43) custom shield

SSH in win10
![[leetcode refers to the maximum profit of offer 63. Stock (medium)]](/img/37/478b53696f9327b7d435cdd887dd57.png)
[leetcode refers to the maximum profit of offer 63. Stock (medium)]

Resolve the "chromedriver executable needs to be in path" error

2.整理华子面经--2
随机推荐
Opencv application -- jigsaw puzzle
C language programming based on loop structure (PTA)
presto on spark 支持3.1.3记录
Display, move, rotate
[leetcode refers to offer 10 - I. Fibonacci sequence (simple)]
Leaf Smecta
Deep understanding of modern mobile GPU (continuously updating)
在线Excel转CSV工具
Code cloud download history version process
[leetcode refers to offer 25. Merge two sorted linked lists (simple)]
[leetcode sword finger offer 28. Symmetric binary tree (simple)]
2022-04-24日报:在生物科学领域应用深度学习的当前进展和开放挑战
NVM introduction, NVM download, installation and use (node version management)
The DNN of OpenCV is used to read onnx as the prediction end to realize classification
JS prototype and prototype chain
Idea import a project
Pycharm Chinese plug-in
Centos7 builds MySQL master-slave replication from scratch (avoid stepping on the pit)
What if Jenkins forgot his password
JS merge duplicate data in array object