unexpected instance shutdown and max number of connections

Dustin Sallings dustin at spy.net
Tue May 29 19:14:13 UTC 2007


On May 28, 2007, at 17:45 , Ricardo Niederberger Cabral wrote:

> 3) In order to avoid keys with space characters on it, would it be a
> bad idea to have all keys hashed (with Java's String.hashCode())
> before being used on memcached ?

	Yes, that's probably a very bad idea.  You would have no way to  
detect or work around a collision.  Just URL encode them if they'll  
end up having invalid characters (more than just space).

-- 
Dustin Sallings


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070529/7ca94676/attachment.html


More information about the memcached mailing list