memcache 與 memcached的區別

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
  1. 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.

  2. 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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章