您的位置:首页 > 数据库 > Memcache

memcache 与 memcached的区别

2014-03-02 10:02 459 查看
Here are some more advanced features and information.
pecl/memcachepecl/memcached
First Release Date2004-06-082009-01-29 (beta)
Actively Developed?YesYes
External DependencyNonelibmemcached
Features
Automatic Key Fixup1YesNo
Append/PrependNoYes
Automatic Serialzation2YesYes
Binary ProtocolNoOptional
CASNoYes
CompressionYesYes
Communication TimeoutConnect OnlyVarious Options
Consistent HashingYesYes
Delayed GetNoYes
Multi-GetYesYes
Session SupportYesYes
Set/Get to a specific serverNoYes
Stores NumericsConverted to StringsYes
pecl/memcache will convert an invalid key into a valid key for you. pecl/memcached will return false when trying to set/get a key that is not valid.

You do not have to serialize your objects or arrays before sending them to the set commands. Both clients will do this for you.

转载地址: http://code.google.com/p/memcached/wiki/PHPClientComparison
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: