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交互的

参考: http://www.jb51.net/article/27366.htm

05-11 20:26