[ https://issues.apache.org/jira/browse/LANG-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297908#comment-14297908 ]
Bruno P. Kinoshita commented on LANG-1085: ------------------------------------------ Hi Oliver! Looks interesing. ElasticSearch has a [circuit breaker|http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_limiting_memory_usage.html#circuit-breaker] to prevent the server from serving datasets too large, but I never looked at the code that handles it. I'll toy around with your circuit breaker during this weekend :-) Thanks! Bruno > Add a circuit breaker implementation > ------------------------------------ > > Key: LANG-1085 > URL: https://issues.apache.org/jira/browse/LANG-1085 > Project: Commons Lang > Issue Type: New Feature > Components: lang.concurrent.* > Reporter: Oliver Heger > Attachments: CircuitBreaker.java, CircuitBreakerTest.java > > > A _circuit breaker_ is a useful component to protect an application against > unreliable services or load peaks. A simple implementation could be a good > fit for the concurrent package. > A proposed implementation is attached. Feedback is welcome! -- This message was sent by Atlassian JIRA (v6.3.4#6332)