压测并发springcloud hystrix 超时
并发压测微服务之间互相调用进入断融,需要设置 hystrix.threadpool.default.coreSize=6000 #最大进程数默认是10 hystrix.command.default.execution.isolation.semaphore.maxConcurrentRequest=6000 #最大并发请求数 hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=60000 #断融的超时时间 下面是断路器的一些参数,自己记录下: hystrix.command.default和hystrix.threadpool.default中的default为默认CommandKey Command Properties Execution相关的属性的配置: hystrix.command.default.execution.isolation.strategy 隔离策略,默认是Thread, 可选Thread|Semaphore hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds 命令执行超时时间,默认1000ms hystrix.command.default.execution