binary protocol notes from the facebook hackathon

Paul Querna chip at
Tue Jul 10 20:59:33 UTC 2007

Tobias Lütke wrote:
> Looks great,
> I wonder how this binary protocol would fare in the face of protocol
> changes such as the recently proposed updates which would allow N tags
> to be associated with a cache key. Before finalizing the protocol I
> think it would be smart to either implement this facility and design
> the binary protocol with this in mind or formalize a future safe
> extension mechanism.

I think the general aggrement was we would add a new command, like
set_tags, rather than overloading the existing 'simple' commands.

So, you would pipeline the two commands together in the client:
set <key> ....
set_tags <key> ....


More information about the memcached mailing list