cicuit breakers
Dmitry Beransky
2 posts
|
Mike, you talk a lot about circuit breakers and it sounds like a very useful pattern, indeed. Are there any existing implementations? A cursory google search didn’t return any results. Perhaps, the pattern is also known under a different name? Thanks |
Michael Nygard
5 posts
|
Dmitry, The name “Circuit Breaker” is one that I coined, so I would not expect to find many references to it (yet.) The existing implementations I’ve used are proprietary and are not something I can share. One of the common requests I’ve heard, however, is for some sample code. I am considering taking this on as an open source project. What language would be most useful? I’m torn between doing an implementation in Ruby, where I might be able to use metaprogramming techniques to make using a circuit break a one-line declarative statement, versus doing it in Java, which has much more widespread applicability in the enterprise. Cheers, |
Dmitry Beransky
2 posts
|
Thanks for the reply, Mike. I was just wondering if there was anythgin out there before starting coding on my own. An open source project would be cool, though, especially if it’s in Java, then I could even try to contribute. If it ends up being in Ruby, not a problem either, I can always rewrite it in Java myself. thanks |
Mohamed Mansour
1 post
|
Hello, it would be better to see it in Java, since we can use that code to write in other languages as well, since a oneliner in ruby wouldn’t be usefull to extend in other languages. |
4 posts, 3 voices
