Quick update: diehard 0.2.2 released with circuit breaker support.
;; Define a circuit breaker with failure threshold:
;; it will be open when 35 executions in 50 failed
;; and it waits 1000ms to become half-open, and tests 50 executions to
;; see if failure is recovered
(diehard/defcircuitbreake
That's already in progress:
https://github.com/sunng87/diehard/pull/1
On 07/03/2016 02:21 AM, Janko Muzykant wrote:
> Eagerly waiting for circuit-breaker wrapper :)
>
> cheers,
> j.
>
>
> Ning Sun writes:
>
>> Hi all,
>>
>> Just to announce the first release of diehard[1], a clojure wrapper o
Eagerly waiting for circuit-breaker wrapper :)
cheers,
j.
Ning Sun writes:
> Hi all,
>
> Just to announce the first release of diehard[1], a clojure wrapper over
> the Failsafe[2] library, which deals retry stuff for you.
>
> Diehard allows you to set retry criteria for any block a clojure cod
Nice! You may also like its clustered version:
https://github.com/sunng87/slacker-cluster
Slacker and slacker-cluster now serves tens of millions RPC in our
production.
Feel free to contact me if you have any issue with both libraries.
On 07/02/2016 12:31 PM, Stanislav Yurin wrote:
> Thank you
Thank you.
Also recently made a use of your https://github.com/sunng87/slacker lib -
really interesting approach.
On Thursday, June 30, 2016 at 6:08:27 PM UTC+3, Sun Ning wrote:
>
> Hi all,
>
> Just to announce the first release of diehard[1], a clojure wrapper over
> the Failsafe[2] library,
Hi all,
Just to announce the first release of diehard[1], a clojure wrapper over
the Failsafe[2] library, which deals retry stuff for you.
Diehard allows you to set retry criteria for any block a clojure code, like:
(diehard/with-retry {:retry-on IOException}
(http/get "https://google.com";))