Hystrix的线程池隔离和信号量隔离

信号量的隔离: it executes on the calling thread and concurrent requests are limited by the semaphore count. 每次调用线程,当前请求通过计数信号量进行限制,当信号大于了最大请求数(maxConcurrentRequests)时,进行限制,调用fallback接口快速返回。 最重要的是,信号量的调用是同步的
相关文章
相关标签/搜索