Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-14 Thread Ning Sun
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

Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-04 Thread Ning Sun
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

Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-02 Thread Janko Muzykant
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

Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-02 Thread Ning Sun
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

Re: ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-07-01 Thread Stanislav Yurin
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,

ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-06-30 Thread Ning Sun
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";))