I've got memcache set up on a couple of D5 sites sharing a memcache server with other, non-drupal software. There is only a single bin (16gigs). We are seeing that every time the cache is flushed from one of the drupal sites, the cache for everything is dropped. We have 'memcache_key_prefix' set up as a unique value, but it's still clobbering the cache for our non drupal stuff too. How can I fix this?
TIA
Comments
Comment #1
crea commentedMamcache itself doesn't support partial wildcard flushes. You either flush whole bin or single entry. Memcache FAQ recommends emulating namespace with serial numbers appended to cache key. This is what i'm implementing in the Namespice module. Unfortunatly, only for D6 and existing modules will need to be modified to work with it.
I recommend not using shared memcache instances. It's recipe for lowest cache efficiency.