RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

gem install cirtuit_b

Classic Circuit Breaker implementing a well-known stability pattern to wrap your code that can potentially fail or get stuck, and start failing-fast after the given number of failures. Used to protect the resources and increase the response time (as opposed to retrying and waiting infinitely).

Comments

Just noticed that gem line should read:

gem install circuit_b

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in