Hello Kevin,
KB> I need to implement caching for a large enterprise application and
KB> we are planning to use the newest Caching Application Blocks.
KB> (Enterprise Library Jan. 2006)
KB> We want to cache Business Entities (DTO's) at the service layer and
KB> have a few questions.
KB> Are there other options than using Microsoft Caching blocks -
KB> possibly open source?
You can reailise your own cache mechanizm, for example using WeakReference
or writing your own collection like here
http://www.codeproject.com/csharp/genericcache.asp#xx958948xx KB> The application will be on a web farm so from what I understand we
KB> need to store the cache in SQL and am confused to the benefit of
KB> this since the whole point of caching is to avoid hitting a
KB> database.
Not always, SQL gives you data robust in case of fallover. But if you prefer
smth else then SQL there are several other case, for example using StateServer.
I've described several cases in my article related to caching in clusters.
You can read it about here:
http://spaces.msn.com/laflour/blog/cns!7575E2FFC19135B4!355.entry
KB> What design pattern could we use to implement this into our application?
You need to determing what would you like to get and what are the constraints
for your system
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour "At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche