Which PHP client Library is Efficient Memcached or Memcache

23 views
Skip to first unread message

nEosAg

unread,
Jan 28, 2010, 11:56:32 PM1/28/10
to memcached
I am using Memcache library but having issues in achieving Atomic
operations or to keep integrity of the data.

To achieve integrity and atomicity i am using pseudo lock operations.
Adam Lee suggested me to use CAS if i need to implement Locking but it
is not supported in Memcache Library.

Please suggest me which library to use..

Waiting for a favourable reply.


Regards,
Sagar

dormando

unread,
Jan 29, 2010, 12:01:27 AM1/29/10
to memcached
the memcached php lib is more modern and more supported.

nEosAg

unread,
Jan 29, 2010, 12:04:39 AM1/29/10
to memcached
Thanks for replying.

ohh ok..But Have anybody used that libarary as its only one stable
version is available.

ash2k -

unread,
Jan 29, 2010, 1:55:17 AM1/29/10
to memc...@googlegroups.com
2010/1/29 nEosAg <sonawan...@gmail.com>:

>
> ohh ok..But Have anybody used that libarary as its only one stable
> version is available.
>

We are using pecl-memcached and it's working great! I like that it
have lots of options to play with.

Nick Le Mouton

unread,
Feb 1, 2010, 5:48:30 PM2/1/10
to memcached
We run pecl/memcached on Drugs.com and it's working a lot better than
pecl/memcache

On Jan 29, 7:55 pm, ash2k - <ash...@gmail.com> wrote:
> 2010/1/29 nEosAg <sonawane.sa...@gmail.com>:

Michel Bartz

unread,
Feb 3, 2010, 3:41:37 PM2/3/10
to memcached
We've been using it for 6month, much better than the regular Memcache
extension. Only issue so far, was caused by the Suhosin patch, when we
were passing any parameter to the constructor, sometime it was causing
memory problem resulting on a Fatal Error:
canary mismatch on efree() - heap overflow detected

But not big issue, passing the persitent id is usefull if you
instanciating a lot of Memcached object and you want them to share the
same connection, but i highly recommand to extend Memcached to
implement a Singleton logic, works better and remove the risk of
having that issue.

Reply all
Reply to author
Forward
0 new messages