loiv 发表于 2015-9-2 12:06:09

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交互的
  参考: http://www.iyunv.com/article/27366.htm
页: [1]
查看完整版本: memcache 键名的命名规则以及和memcached的区别