当前位置:网站首页>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
边栏推荐
- Parallelgateway and exclusivegateway of 14 gateways
- Unity游戏优化(第2版)学习记录7
- Quartz database storage
- Integer tips
- 890. Find and Replace Pattern
- How to Algorithm Evaluation Methods
- 顶部下滑沉浸式dialog
- Use the browser to cut the entire page (take chrome as an example)
- 2021.9.29学习日志-MIME类型
- Byte buddy print execution time and method link tracking
猜你喜欢

Case - simulated landlords (primary version)

Etcd understanding of microservice architecture

2 first experience of drools

Mongodb multi field aggregation group by

Case - grade sorting - TreeSet set storage

Information collection for network security (2)

安装harbor(在线|离线)

890. Find and Replace Pattern

OpenGL馬賽克(八)

Difference between deviation and variance in deep learning
随机推荐
Create a harbor image library from the command line
How to Algorithm Evaluation Methods
Problems encountered in the use of PgSQL
Introduction to R language 4--- R language process control
MySQL transactions and foreign keys
17 servicetask of flowable task
std::condition_ variable::wait_ for
Integer tips
Use of mongodb
Randomly fetch data from the list
Case - the list set stores student objects and traverses them in three ways
890. Find and Replace Pattern
Unity game optimization (version 2) learning record 7
安装harbor(在线|离线)
Getclassloader() returns null, getclassloader() gets null
JS output uincode code
The reason why the process cannot be shut down after a spark job is executed and the solution
Windbos common CMD (DOS) command set
Difference between deviation and variance in deep learning
MySQL log management and master-slave replication
https://blog.csdn.net/qq_38377525/article/details/122861284?spm=1001.2014.3001.5502