memcache 键名的命名规则以及和memcached的区别
2014年3月27日 07:47:46
Keys
----
Data stored by memcached is identified with the help of a key. A key
is a text string which should uniquely identify the data for clients
that are interested in storing and retrieving it. Currently the
length limit of a key is set at 250 characters (of course, normally
clients wouldn't need to use such long keys); the key must not include
control characters or whitespace.
另外memcache和memcached的区别:
memcache是写PHP内部的直接和memcahce进程交互的
memcached是调用第三方库libmemcached和memchache交互的