dragon-zhang opened a new issue, #4356:
URL: https://github.com/apache/shenyu/issues/4356

   ### Description
   
   In the k8s environment, due to the ip change after the client container is 
restarted, the UpstreamCheckService health check is easy to fail. Due to the 
use of single-thread health check, it is easy to slow down the health check of 
other nodes, and eventually cause the OOM of shenyu-admin.
   
   This task needs you to use muti-thread to optimize 
`org.apache.shenyu.admin.service.impl.UpstreamCheckService#scheduled`, you can 
refer to the implementation of 
`org.apache.shenyu.loadbalancer.cache.UpstreamCacheManager`.
   
   Please remember to allow users to configure the number of threads, maybe you 
should also do some modify to 
`org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask` to support config.
   
   Good luck !
   
   ### Task List
   
   - [ ] optimize UpstreamCheckService;
   - [ ] support config the number of threads in `UpstreamCheckTask`;


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to