当前位置:网站首页>降级和熔断总结
降级和熔断总结
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
边栏推荐
- Pytorch: runtimeerror: an attempt has been made to start a new process Error reporting (resolved)
- [※ leetcode refers to offer 48. The longest substring without repeated characters (medium)]
- FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:stripDe
- presto on spark 支持3.1.3记录
- Unit function expansion
- Swift import third-party library reports an error no such module““
- Question brushing plan - depth first search (II)
- Xiaomi mobile phone has abandoned the "Mi" brand all over the world and switched to the full name brand of "Xiaomi"
- 2022-04-24日報:在生物科學領域應用深度學習的當前進展和開放挑戰
- Sharpness difference (SD) calculation method of image reconstruction and generation domain index
猜你喜欢
Database experiment VI integrity language experiment
ROS learning notes - tutorial on the use of ROS
Plato Farm元宇宙IEO上线四大,链上交易颇高
1.整理华子面经--1
MySQL back to table
Introduction to tensorrt
DW basic course (II)
IIS cannot load * woff,*. woff2,*. Solution of SVG file
Correction of date conversion format error after Oracle adds a row total
在线时序流程图制作工具
随机推荐
Pycharm Chinese plug-in
清华大学 | WebFace260M:百万级深度人脸识别的基准(TPAMI2022)
Cancel the default open project setting of idea
1. Finishing huazi Mianjing -- 1
[leetcode refers to offer 52. The first common node of two linked lists (simple)]
How Axure installs a catalog
ROS学习笔记-----ROS的使用教程
[leetcode refers to offer 21. Adjust the array order so that odd numbers precede even numbers (simple)]
使用mbean 自动执行heap dump
Tensorflow1. X and 2 How does x read those parameters saved in CKPT
轻量化项目管理思路
Code cloud download history version process
Unit function expansion
服务熔断的实现
NVM introduction, NVM download, installation and use (node version management)
在线Excel转CSV工具
Presto on spark supports 3.1.3 records
Oracle updates the data of different table structures and fields to another table, and then inserts it into the new table
Lightweight project management ideas