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:///p/memcached/wiki/PHPClientComparison