当前位置:网站首页>Service fusing and degradation of Note Series
Service fusing and degradation of Note Series
2022-06-13 05:40:00 【codain】
In the micro Service Architecture , Because the granularity of each service is fine , There will be complex calls between each other , Also, the request link is long , This leads to a problem , as follows :
In the case of high concurrency , This complex dependency call , It will threaten the stability of the system , Like a login , Ten or more services were invoked , If one of the services is delayed, overtime, or down , It will cause abnormal login , There may be an avalanche
About avalanche concepts and solutions , Please go to the link below to view :
Speaking of this , I have to talk about the criteria for demotion , Nor can it be downgraded in any case , Not every place can be demoted , thus , Provide a reference index , as follows
1、 Mean response time : such as 1s There are 5 A request , If the average response time at the corresponding time exceeds the threshold , Then it is necessary to downgrade and fuse the access of this method within a fixed time window
2、 Abnormal proportion : That is, when the proportion of the total number of exceptions obtained by a method per second exceeds the previously set threshold , The resource will be automatically degraded , That is, in the next fixed window , All calls to this method will automatically return a complete set of data
3、 Number of exceptions : Similar to the abnormal proportion , That is, when the number of exceptions obtained by a method within a specified time window exceeds the threshold, degradation or fusing will be triggered
边栏推荐
- Case -- the HashSet set stores the student object and traverses
- Use the browser to cut the entire page (take chrome as an example)
- NVIDIA Jetson Nano/Xavier NX 扩容教程
- 行情绘图课程大纲1-基础知识
- Calculate the number of days between two times (supports cross month and cross year)
- Shell instance
- MySQL table data modification
- Byte buddy print execution time and method link tracking
- 17 servicetask of flowable task
- [thread / multithread] execution sequence of threads
猜你喜欢
MySQL fuzzy query and sorting by matching degree
Case - the list set stores student objects and traverses them in three ways
One of PowerShell optimizations: prompt beautification
C calls the API and parses the returned JSON string
Case -- the HashSet set stores the student object and traverses
OpenGL馬賽克(八)
Web site learning and sorting
Pychart error resolution: process finished with exit code -1073741819 (0xc0000005)
Case - count the number of occurrences of each string in the string
Mysql database crud operation
随机推荐
18 flowable task manualtask and receivetask
Basic operations of MySQL auto correlation query
A fast week
Standard input dialog for pyqt5 qinputdialog
Randomly fetch data from the list
2021.9.29学习日志-MIME类型
通过命令行创建harbor镜像库
若依框架=》如何设置导入导出模板全局为文本格式(解决科学计数问题)
2 first experience of drools
How to Algorithm Evaluation Methods
KVM hot migration for KVM virtual management
Browser screenshot method (long screenshot, node screenshot, designated area screenshot)
Hump naming and underlining
1 Introduction to drools rule engine (usage scenarios and advantages)
Difference between deviation and variance in deep learning
Pychart professional edition's solution to SQL script error reporting
Web site learning and sorting
About the solution of pychart that cannot be opened by double clicking
Case - recursive factorial (recursive)
19 calling subprocess (callactivity) of a flowable task