It seems like an implementation has been proposed (http://framework.zend.com/issues/browse/ZF-421) but Lee missed a point that I had also missed. Memcached drops cache items automatically when the memory is too full, making it impossible to ensure the tags are kept in the cache.
Maybe this could be resolved by using the memcached "-M" switch (to throw an error instead of removing items) but that seems a little harsh for most situations. Maybe memcached needs a "Do Not Remove" flag that can be added on a per-item basis, but I guess that's an issue for the memcached team, not the Zend community. -- Brenton Brenton Alker wrote: > > ... > > I was just wondering if anyone has implemented (or attempted to implement) > the "Tags" functionality in the Memcached backend? > > ... > > If noone has an implementation, I might have a go at writing one, but at > this point, the only way I can think to store the tags is in one cache > entry as an array or object type structure, but I don't know how well that > would scale (or even work in detail). So ideas on how to implement would > also be good. > -- View this message in context: http://www.nabble.com/Tags-implamentation-for-Memcache-tf4151753s16154.html#a11812415 Sent from the Zend Framework mailing list archive at Nabble.com.
