key « memcached « Java Database Q&A





1. Memcache key generation strategy    stackoverflow.com

Given function f1 which receives n String arguments, what would be considered better ,in terms of runtime performance, random key generation strategy for memcache? Our Memcache client does internal md5sum hashing on ...

2. memcached client throw java.lang.IllegalArgumentException: Key contains invalid characters    stackoverflow.com

Seems memcache client doesn't support UTF-8 string as its key. But I have to use i18n. Anyway to fix it?

java.lang.IllegalArgumentException: Key contains invalid characters:  ``HK:00:A Kung Wan''
at net.spy.memcached.MemcachedClient.validateKey(MemcachedClient.java:232)
at net.spy.memcached.MemcachedClient.addOp(MemcachedClient.java:254)

3. Delete multiple keys from memcached    stackoverflow.com

I have two tables, the data of which are cached using memcached. Both the tables are using the same memcached server. Ex: ABC table class:

public class ABC {
    public int abc;
 ...