Keys larger that 250
brian at tangent.org
Mon Dec 17 18:17:40 UTC 2007
This came up during the hackathon. I suggested that two bytes be
reserved instead of one in the binary protocol so that it could
support this. It would still require recompiling the server though.
On Dec 13, 2007, at 3:35 PM, Tim Bunce wrote:
> My 'natural' keys are generally 400 to 900 bytes.
> I'd like to avoid having to pay the price of either
> a) creating a good digest (MD5) each time, or
> b) using a poor digest and including a copy of the full key inside the
> value (so it can be checked when fetched).
> I was surprised that memcached doesn't offer a command like option to
> support larger key sizes.
> The image of the binary protocol shows "keylen 3". Does than mean
> three bytes will be used to store the keylen in the binary protocol?
>  http://code.sixapart.com/svn/memcached/trunk/server/doc/binary-protocol-plan.jpg
Brian "Krow" Aker, brian at tangent.org
http://krow.net/ <-- Me
http://tangent.org/ <-- Software
http://exploitseattle.com/ <-- Fun
You can't grep a dead tree.
More information about the memcached