场景:XX服务调用其他外服务共计26个,每个服务都由Hystrix统一配置线程数
配置如下:
hystrix.threadpool.default.coreSize = 50
hystrix.threadpool.default.maxQueueSize = 1000
hystrix.threadpool.default.queueSizeRejectionThreshold = 1000
查看服务性能如下:

经过查阅资料,了解hystrix配置参数后,发现可针对调用外服务的FeignClient单独配置相关参数:
参靠:Hystrix使用说明,配置参数说明_IT桐桐的博客-优快云博客_hystrix.threadpool.default.coresize
hystrix.threadpool.default.coreSize = 30
hystrix.threadpool.default.maxQueueSize = 1000
hystrix.threadpool.default.queueSizeRejectionThreshold = 1000
hystrix.threadpool.BSS-MS.coreSize = 50
hystrix.threadpool.BSS-MS.maxQueueSize = 1000
hystrix.threadpool.BSS-MS.queueSizeRejectionThreshold
Hystrix服务调用优化:细化线程池配置提升性能

最低0.47元/天 解锁文章
1989

被折叠的 条评论
为什么被折叠?



