首页 > 其他 > 详细

memcache 键名的命名规则以及和memcached的区别

时间:2014-03-28 09:30:21      阅读:590      评论:0      收藏:0      [点我收藏+]

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

memcache 键名的命名规则以及和memcached的区别,布布扣,bubuko.com

memcache 键名的命名规则以及和memcached的区别

原文:http://www.cnblogs.com/iLoveMyD/p/3627467.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!