I have a database with files which can be searched, browsed and have multiple copies on multiple servers.
I cache searches, browse pages and server locations (urls). Say
Having come accross the comment here, which explains the logic of evicting existing keys, I believe tags can be implemented reliable by the version flags approach mentioned in: PHP memcache design patterns
I actually implemented this logic once already, but discarded it as unreliable due to memcache eviction of elements before they expire. You can find my initial implementation here. I do however, believe this is a reliable tags pattern because:
Please correct me if I'm wrong! :-)