<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: The Circuit Breaker</title> <atom:link href="http://davybrion.com/blog/2008/05/the-circuit-breaker/feed/" rel="self" type="application/rss+xml" /><link>http://davybrion.com/blog/2008/05/the-circuit-breaker/</link> <description>inquisitive: adjective. given to inquiry, research, or asking questions; eager for knowledge; intellectually curious</description> <lastBuildDate>Wed, 16 May 2012 15:43:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Nikos Baxevanis</title><link>http://davybrion.com/blog/2008/05/the-circuit-breaker/comment-page-1/#comment-99126</link> <dc:creator>Nikos Baxevanis</dc:creator> <pubDate>Tue, 26 Apr 2011 22:30:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=112#comment-99126</guid> <description>Hi Davy,In the TimedLock class:The factory method TimedLock Lock(Object o)
calls the TimedLock Lock(Object o, TimeSpan timeout) method
which  passes 0 milliseconds to the TimedLock Lock(Object o, Int32 milliseconds) method.This was causing a LockTimeoutException to be thrown (using the implementation from this post http://davybrion.com/blog/2009/07/protecting-your-application-from-remote-problems/)The problem was fixed by changing timeout.Milliseconds to Convert.ToInt32(timeout.TotalMilliseconds) inside the TimedLock Lock(Object o, TimeSpan timeout) method.public static TimedLock Lock(Object o, TimeSpan timeout)
{
return Lock(o, Convert.ToInt32(timeout.TotalMilliseconds));
}</description> <content:encoded><![CDATA[<p>Hi Davy,</p><p>In the TimedLock class:</p><p>The factory method TimedLock Lock(Object o)<br
/> calls the TimedLock Lock(Object o, TimeSpan timeout) method<br
/> which  passes 0 milliseconds to the TimedLock Lock(Object o, Int32 milliseconds) method.</p><p>This was causing a LockTimeoutException to be thrown (using the implementation from this post <a
href="http://davybrion.com/blog/2009/07/protecting-your-application-from-remote-problems/" rel="nofollow">http://davybrion.com/blog/2009/07/protecting-your-application-from-remote-problems/</a>)</p><p>The problem was fixed by changing timeout.Milliseconds to Convert.ToInt32(timeout.TotalMilliseconds) inside the TimedLock Lock(Object o, TimeSpan timeout) method.</p><p> public static TimedLock Lock(Object o, TimeSpan timeout)<br
/> {<br
/> return Lock(o, Convert.ToInt32(timeout.TotalMilliseconds));<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Elegant Code &#187; Christmas Light Architectures Are Not That Shiny</title><link>http://davybrion.com/blog/2008/05/the-circuit-breaker/comment-page-1/#comment-83203</link> <dc:creator>Elegant Code &#187; Christmas Light Architectures Are Not That Shiny</dc:creator> <pubDate>Fri, 17 Dec 2010 11:02:16 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=112#comment-83203</guid> <description>[...] developer can incorporate in order to increase the stability of the system he’s working on, like the circuit breaker pattern. I’m also not saying that every system should be built using every stabilization point one can [...]</description> <content:encoded><![CDATA[<p>[...] developer can incorporate in order to increase the stability of the system he’s working on, like the circuit breaker pattern. I’m also not saying that every system should be built using every stabilization point one can [...]</p> ]]></content:encoded> </item> <item><title>By: Tim</title><link>http://davybrion.com/blog/2008/05/the-circuit-breaker/comment-page-1/#comment-24264</link> <dc:creator>Tim</dc:creator> <pubDate>Fri, 08 Jan 2010 18:38:09 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=112#comment-24264</guid> <description>&quot;I hope i explained it clearly, i didn’t really find a good explanation of the Circuit Breaker pattern online…&quot;I think I understand, but this is one of those cases where a picture is worth 1K words.  :-)</description> <content:encoded><![CDATA[<p>&#8220;I hope i explained it clearly, i didn’t really find a good explanation of the Circuit Breaker pattern online…&#8221;</p><p>I think I understand, but this is one of those cases where a picture is worth 1K words. <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Protecting Your Application From Remote Problems &#124; The Inquisitive Coder &#8211; Davy Brion&#8217;s Blog</title><link>http://davybrion.com/blog/2008/05/the-circuit-breaker/comment-page-1/#comment-22039</link> <dc:creator>Protecting Your Application From Remote Problems &#124; The Inquisitive Coder &#8211; Davy Brion&#8217;s Blog</dc:creator> <pubDate>Sun, 05 Jul 2009 19:47:05 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=112#comment-22039</guid> <description>[...] other requests. One pattern which is very suitable to reduce the problems for this situation is the Circuit Breaker (read that unless you&#8217;re familiar with the circuit [...]</description> <content:encoded><![CDATA[<p>[...] other requests. One pattern which is very suitable to reduce the problems for this situation is the Circuit Breaker (read that unless you&#8217;re familiar with the circuit [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/9 queries in 0.009 seconds using disk: basic
Object Caching 371/374 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d18sni7re4ly7f.cloudfront.net

Served from: davybrion.com @ 2012-05-17 11:43:32 -->
