Distributed Caching support

Topics: Caching Application Block
Apr 7, 2010 at 7:08 AM


Does the Caching Block in Entlib 5.0 support for distributed caching,

I have the following requirement using the Caching Block and would like to know if it is supported.

  • Two Web Applications on a Single Application Pool to share the Cached Items between them.
  • Two Windows Application on the same Application Domain to Share Cached Items between them.



Apr 7, 2010 at 7:39 AM

I don't think the Caching Application Block would ever support that.  Quoting Chris Tavares on his "Thinking About the Future of Caching Application Block" blog:

"With the upcoming release of the cache-formerly-known-as-Velocity, Microsoft has a quality distributed cache technology available. We’d be nuts to try and replicate all that work.  We did an analysis of the APIs between our CacheManager and the Velocity cache and came to the conclusion that wrapping Velocity in our interface would cost you a huge amount of capability, so we decided the best guidance was “use Velocity” rather than go through the caching block"

Here's the link on his full blog: http://www.tavaresstudios.com/Blog/category/Entlib.aspx


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.