You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2021/01/31 20:12:48 UTC

[GitHub] [commons-lang] saurabhsinghwww opened a new pull request #704: Added new percentage check circuit breaker

saurabhsinghwww opened a new pull request #704:
URL: https://github.com/apache/commons-lang/pull/704


   Added new circuit breaker implementation (PercentageCheckCircuitBreaker), which is based on percentage checks on the events.
   
   A circuit breaker can be used to protect an application against unreliable services or unexpected load.
   A newly created {@code PercentageCheckCircuitBreaker} object is initially in state closed meaning that no problem has been detected.
   When the application encounters specific events (like errors or service timeouts), it tells the circuit breaker to increment the internal counters.
   If the number of events reported results in a higher than acceptable percentage for a window size, the circuit breaker changes into state open.
   This means that there is a problem with the associated sub system, the application should no longer call it, but give it some time to settle down.
   The circuit breaker can be configured to switch back or reset to closed state after a certain time frame.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-lang] saurabhsinghwww closed pull request #704: Added new percentage check circuit breaker

Posted by GitBox <gi...@apache.org>.
saurabhsinghwww closed pull request #704:
URL: https://github.com/apache/commons-lang/pull/704


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-lang] saurabhsinghwww closed pull request #704: Added new percentage check circuit breaker

Posted by GitBox <gi...@apache.org>.
saurabhsinghwww closed pull request #704:
URL: https://github.com/apache/commons-lang/pull/704


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-lang] saurabhsinghwww commented on pull request #704: Added new percentage check circuit breaker

Posted by GitBox <gi...@apache.org>.
saurabhsinghwww commented on pull request #704:
URL: https://github.com/apache/commons-lang/pull/704#issuecomment-770450494


   By mistake created this Pull Request on the main repository instead of my forked repository.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-lang] saurabhsinghwww commented on pull request #704: Added new percentage check circuit breaker

Posted by GitBox <gi...@apache.org>.
saurabhsinghwww commented on pull request #704:
URL: https://github.com/apache/commons-lang/pull/704#issuecomment-770446535


   .


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org