Does anyone have any experience using a second-level cache in a cluster?
In the docs section about the second-level cache, under read/write strategy, it says:
Quote:
If you wish to use this strategy in a cluster, you should ensure that the underlying cache implementation supports locking. The built-in cache providers do not.
Can anyone shed more light on this? Specifically:
1. Why is locking required in a cluster but not in a single process?
2. Why don't the built-in cache providers support locking? Is it particularly difficult to implement? Are there significant performance penalties?
A possible means of implementing locking is suggested here (in reference to memcached):
http://www.socialtext.net/memcached/index.cgi?faq#managing_a_memcached_cluster
(see section "Emulating locking with the add command")