[ZODB-Dev] RelStorage: Memcache clients throws errors on commit now and then

Anton Stonor anton at headnet.dk
Wed Sep 15 05:54:17 EDT 2010


Hi Shane,

2010/9/15 Shane Hathaway <shane at hathawaymix.org>

> This is a bug in python-memcached.  Under some circumstances,
> _val_to_store_info() returns 0 (see line 713), yet set_multi(), line 643, is
> not prepared to handle that return value.  You would be doing a good service
> if you reported this to the authors.
>
> I always use pylibmc.  It's slightly harder to set up, but in my
> experience, it's fast and reliable.  If you use it, be



Thanks alot! Will move to pylibmc. I actually thought I was choosing
stability over speed by going with python-memcached instead of a wrapper
around a C-library (fear of potential issues with concurrency and memory
leaks).

/Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zodb-dev/attachments/20100915/e85c3feb/attachment.html 


More information about the ZODB-Dev mailing list