Chris, these nuances that require mastering... do you mean they can be taken care of by the CacheProvider for Velocity, or is it something you need to keep in mind in your application code?
On Tue, Feb 10, 2009 at 11:35 AM, [email protected] < [email protected]> wrote: > > > On Feb 9, 8:49 am, Henning <[email protected]> wrote: > > Hi, > > > > I have a web-based application, which is served on a couple of load- > > balanced web-servers. To boost performance I would like to enable > > caching. But what would happen if data is being written to the DB on > > one of the web-servers, how do the other server know to drop their > > cached instances? What would be the best practice? > > Please note that memcached is NOT a true distributed cache. It's a > dumb cache which uses distributed hashing with no redundancy. If your > memcache fails, so does your application unless you code around it. > Memcache is a good piece of kit, but it requires some thinking rather > than blind application. > > http://code.google.com/p/memcached/wiki/FAQ#How_is_memcached_redundant? > > We've been using Velocity CTP2 and NH2 together successfully. > Velocity is a distributed, shared cache and we run it across several > servers in a clustered arrangement with failover and redundancy. > > Velocity: > http://blogs.msdn.com/velocity/ > > Cache provider: > > http://nhcontrib.svn.sourceforge.net/viewvc/nhcontrib/trunk/src/NHibernate.Caches.Velocity/ > > Velocity /is/ a bit cranky (to be expected for a CTP) but when you > master its nuances, it's a really nice and stable bit of kit. It > should go RTM soon. > > Cheers, > > Chris. > > > > -- Davy Brion http://davybrion.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
