Maybe it is my experience with databases but I have always thought that whenever you compare something with null it is always false. Obviously there are some exceptions.
Hashtable vs ConcurrentDictionary
Historically I've seen the Hashtable be favored over ConcurrentDictionary with the assumption that is was more efficient allowing for lock free reads. Well they both allow lock free reads so which one is really the better option?
Circuit Breaker Summary
Circuit Breaker on rate
Circuit Breaker on concurrency
Circuit Breaker on failure rate
Circuit Breaker on number of failures in time window
Circuit Breaker on consecutive failures
The Circuit Breaker Pattern
I don't remember where I first heard about the circuit breaker pattern but I had seen it a few times in a few different forms under different names. Over time I have come to believe that the original approach described to me might not be the most appropriate.
Since I decided to move the blog during 2013 the statistics for 2013 are split between two sites and I'll do this a little different than last year.
Posted by cellfish at 15:30 No comments:
Subscribe to: Posts (Atom)