camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7972) Make the Circuit Breaker EIP more robust - in state halfOpen let only one thread to perform a try
Date Fri, 07 Aug 2015 15:14:46 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661973#comment-14661973
] 

Claus Ibsen commented on CAMEL-7972:
------------------------------------

Yeah I guess its a good idea to back pressure this in half mode

> Make the Circuit Breaker EIP more robust - in state halfOpen let only one thread to perform
a try
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-7972
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7972
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.14.0
>            Reporter: Yves De Moor
>             Fix For: Future
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> when halfOpen is reached, (System.currentTimeMillis() - lastFailure < halfOpenAfter)
there is no restriction on the number of calls (threads) that will perform a retry.
> When retry timeout is reached, we should let only 1 thread go in "halfOpen" mode, all
other should be kept in "open" state until an halfOpen succeed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message