Hey All,
I have been reading today about the difference between PECL Memcache and PECL Memcached.
I wanted to know which one would be the best to install on my server. After much reading I am still not sure which one I should install. But then I thought... I am going to use PECL Memcache or Memcached for one reason, that is this module!
I now know PECL Memcache is the some what older version but more stable.
PECL Memcached has more new features installed and is written by other authors. (speculations about unstable)
But what do these new features mean, if I am just going to use it for this module from drupal "Memcache API and Integration".
So which one would work best with this module? Is there a advantage, if I use PECL Memcached?
I hope somebody can help me out with this decision.
Comments
Comment #1
catchMemcached has a better feature set, but we have seen several bug reports with Memcached that don't appear to be fixed yet, so the current 6.x-1.9 release defaults to Memcache.
Comment #2
janton CreditAttribution: janton commentedok thx! that is exactly what i wanted to hear :)
I will install PECL Memcache now!
Is hope it's not that difficult to change from PECL Memcache to PECL Memcached when the time is there...
Comment #4
ingard CreditAttribution: ingard commentedWhich version of PECL Memcache is the recommended one?
Comment #5
Peter Bowey CreditAttribution: Peter Bowey commentedRefer #4
Short Answer: The latest *SVN memache* (currently => v3.0.6) - it currently has less 'bugs' than memcached!
I have tested both versions, and researched several reports + issues.
See http://drupal.org/node/1181968 for my setup notes on this (doc's).
Comment #6
Jeremy CreditAttribution: Jeremy commentedI'd stick with a release, rather than grabbing the latest from SVN. Both the stable 2.2.x and beta 3.0.x branches have proven quite stable in my testing. The 3.0.x branch supports many features people assume are only available in the memcached PECL extension (such as the binary protocol) -- and has been around much longer as well.
Comment #7
Peter Bowey CreditAttribution: Peter Bowey commented#5 can also be compiled 'static' into php-5.3.x binary-by moving the [memcache - PECL] source into the php /ext folder and rebuilding the PHP 'buildconf' - then compile PHP 5.3.x with --enable-memcache (it is *not* essential to use PECL if you are after the best speed - and understand *static* compile builds).
To use Linux sockets with the memcache module - please refer to: http://drupal.org/node/538426
This works well for my multi-hosted Linux server.
Changelog for memcache: from http://pecl.php.net/package-changelog.php?package=memcache&release=3.0.6
Comment #8
Peter Bowey CreditAttribution: Peter Bowey commentedComment #9
catchI don't think this needs review, feel free to add to the documentation here though http://drupal.org/node/1131458
Comment #10
Peter Bowey CreditAttribution: Peter Bowey commentedRefer #9
@catch thanks!
Will do, did not know what action was 'normal' - to report / expand here - or just move it.... doc's..
Comment #12
deepakrmklm CreditAttribution: deepakrmklm at Zyxware Technologies commented