码迷,mamicode.com
首页 > 其他好文 > 详细

Circuit Breaker Features

时间:2017-01-19 01:40:16      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:iat   mat   semaphore   orm   exce   cep   tag   cal   request   

Better to use a circuit breaker which supports the following set of features:

  • Automatically time-out calls that take longer than a defined threshold.
  • Maintain a small thread-pool (or semaphore) for each dependency and if it becomes full reject commands immediately, rather than queueing them up.
  • Trip a circuit-breaker automatically or manually to stop all requests to a service for a period of time if the error percentage passes a threshold.
  • Perform fallback logic when a request fails, is rejected, timed-out or short-circuited.

Hystrix also provides the following features:

  • Measure successes and failures (exceptions thrown by the client), and timeouts.

  • A dashboard to help diagnose issues.

Circuit Breaker Features

标签:iat   mat   semaphore   orm   exce   cep   tag   cal   request   

原文地址:http://www.cnblogs.com/codingforum/p/6298340.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!