binary protocol motivations

Tomash Brechko tomash.brechko at gmail.com
Tue Nov 13 13:32:16 UTC 2007


On Tue, Nov 13, 2007 at 08:05:18 -0500, Josef Finsel wrote:
> I voted for tags so I could quickly invalidate portions of the cache. Rather
> than have to track all of the keys associated with my *foo *data, I could
> tag each key with the foo tag and then do a *tagdelete foo* or something
> similar and memcached would simple do a delete of the keys that match that
> value.

Got that, that would be useful.  But that would be another use of
tags, not the same as described in binary protocol paper, where tags
are opaque and simply copied from request to reply.  Those tags are
solely to save on sending back key names, or so I understood it.


-- 
   Tomash Brechko


More information about the memcached mailing list