md5 as the key
Dustin Sallings
dustin at spy.net
Fri Sep 7 08:28:02 UTC 2007
On Sep 7, 2007, at 0:34, Venkatesh KS wrote:
> memcached supports variable length keys. But I am just curious as
> to why not use md5 instead of lengthy keys. The keylen requirements
> for my cache (which is very similar to squid proxy) is very high
> and I am planning on using md5. I will read up to find out about
> the false positive probability. But going md5 way will certainly
> cap the keylen to 16bytes.
You certainly can, but md5(``somestring'') is a lot more costly to
compute than ``somestring''
--
Dustin Sallings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070907/e8b474b8/attachment.html
More information about the memcached
mailing list