Problem phenomenon: continuous clicking causes the fusing of hystrix
The solution on the Internet is to adjust the maxqueuesize property. After the modification, the following error still appears. Why does the maxqueuesize property not work?Later, by checking the official documents, we found that hystrix also has a queuesizerejectionthreshold property, which controls the maximum threshold of the queue. By default, hystrix only has five, Therefore, even if we set the maxqueuesize value to be larger, it will not work. Both properties must be configured at the same time
could not be queued for execution and no fallback available
Solution
hystrix:
threadpool:
default:
coreSize: 200 #Maximum number of threads for concurrent execution, default 10
maxQueueSize: 1000 #Max queue size of BlockingQueue, default -1
queueSizeRejectionThreshold: 800 #Even if maxQueueSize is not reached, the request will be rejected after reaching the value of queueSizeRejectionThreshold
:
Read More:
- Spring cloud Netflix hystrix/acutor/hystrix.stream Error ut005023
- [Solved] Failed to introspect Class [org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfigura
- spring cloud 2020 gateway Error 503 [How to Solve]
- Spring cloud remote connect Nacos error [How to Solve]
- [Solved] Spring Cloud Use Ribbon Error: No instances available for XXX
- Spring Cloud Hoxton.SR9 gateway and reactor-netty 0.9.0.RELEASE is Incompatible [How to Solve]
- [Solved] Spring cloud zuul Error: com.netflix.zuul.exception.ZuulException
- [Solved] debug error: cloud netflix. eureka. EurekaDiscoveryClientConfiguration (IDEA package normally)
- Ruoyi-cloud Integrated mybatis-plus Error: Unknown column ‘search_value‘ in ‘field list‘
- Spring Error: Transaction synchronization is not active
- [How to Fix]Spring 3.0 could not find acceptable representation
- Spring integrated HBase error [How to Solve]
- [Solved] Spring AOP Error creating bean with name
- [Solved] Spring-MVC Error: org.springframework.validation.BeanPropertyBindingResult
- Spring boot real time HTML page
- How to Solve JDBC connection error in spring MVC integration
- How to Solve Spring Boot Maven Build Error
- Spring-boot-maven-plugin Error [How to Solve]
- [Solved] Failed to bind properties under ‘spring.servlet.multipart.file-size-threshold‘ to
- [Solved] spring boot integrated PageHelper Error