Re: Python Memcached

2017-08-28 Thread Matt Ingenthron
Curious, what kind of protocol problems? There were a couple Trond and I were looking at with enabling out-of-order responses and some unsolicited responses. On Fri, Aug 25, 2017 at 2:53 PM dormando wrote: > I have some thoughts but need to finish a few other things first. > > I kind of want so

Re: Python Memcached

2017-08-25 Thread dormando
I have some thoughts but need to finish a few other things first. I kind of want something a bit more barebones that speaks both client and server so I can embed it into the server and help prevent bitrot. Then another wrapper around that which becomes the external client. At the same time I'd li

Re: Python Memcached

2017-08-25 Thread Brian Aker
I am not really sure where to go with libmemcached right now. Its design shows the age in which it was built. > On Aug 25, 2017, at 00:52, dormando wrote: > > Pretty sure Frank was asking about server implementations of memcached in > python. > > As per that, I've only ever seen people create

Re: Python Memcached

2017-08-25 Thread dormando
Anything in python is going to be several orders of magnitude slower than the C version, so a pure python one isn't going to have seen a lot of production time. That said I don't see why you couldn't start with one of the random ones people have written. Just googling "pyt

Re: Python Memcached

2017-08-25 Thread Frank Wang
Hi Dormando, I am just looking for one for research purposes, but I wanted one that was reasonably stable and had reasonable performance. Otherwise, I am probably better off writing my own in-memory key-value store, but I prefer to use a pre-existing one. Thanks, Frank On Fri, Aug 25, 2017 at 1

Re: Python Memcached

2017-08-24 Thread dormando
Pretty sure Frank was asking about server implementations of memcached in python. As per that, I've only ever seen people create those for eduational purposes. Not aware of something anyone runs in production. What do you need it for? As per libmemcached being idle; I've noticed and am hoping to

Re: Python Memcached

2017-08-24 Thread Min-Zhong "John" Lu
We use pylibmc . Fairly stable and built-in handling of multi-server key distribution. The disadvantage of pylibmc (and many other client libraries) lies in its dependency on libmemcached, which has seen little activity for quite some while, which in turn h

Python Memcached

2017-08-24 Thread Frank Wang
Hi, I know there are a bunch of Python versions of memcached clients. Does anyone know of any good/stable Python implementations of the memcached server? Thanks, Frank -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from th

Re: CAS Delete support in any Python memcached client?

2013-12-16 Thread James Haggerty
My reading of the binary protocol is that there is space for CAS but the behaviour is unspecified. But the source certainly seems to support it: https://github.com/memcached/memcached/blob/master/memcached.c#L2191 As do the release notes :) http://code.google.com/p/memcached/wiki/ReleaseNotes140

Re: CAS Delete support in any Python memcached client?

2013-12-15 Thread Hirotaka Yamamoto
In fact, the binary protocol specifies CAS operations only for Set/Add/Replace. Delete with CAS seems unspecified. On Sunday, December 15, 2013 8:02:36 PM UTC+9, James Haggerty wrote: > > A brief squiz at the delete function seems to suggest it doesn't: > > > http://bazaar.launchpad.net/~tangent-

Re: CAS Delete support in any Python memcached client?

2013-12-15 Thread James Haggerty
A brief squiz at the delete function seems to suggest it doesn't: http://bazaar.launchpad.net/~tangent-trunk/libmemcached/1.2/view/head:/libmemcached/delete.cc Am I missing something? (the most popular native Python clients use the text protocol, so can only do cas set; the others use libmemcach

Re: CAS Delete support in any Python memcached client?

2013-12-14 Thread dormando
On Thu, 12 Dec 2013, mumb...@gmail.com wrote: > Hi all, > > Just tried (and failed) to find any Python client with support for the > new-ish CAS operations on the binary protocol (i.e. CAS delete etc.). Does > anyone know of one - or have any plans for one? Or is there a fork of the C > libmemca

CAS Delete support in any Python memcached client?

2013-12-12 Thread mumbler
Hi all, Just tried (and failed) to find any Python client with support for the new-ish CAS operations on the binary protocol (i.e. CAS delete etc.). Does anyone know of one - or have any plans for one? Or is there a fork of the C libmemcached library which supports it? -- --- You received t

Re: python-memcached Fork

2009-07-24 Thread Gavin M. Roy
g what problems you had > but doesn't the current python-memcached lib support changing of the > pickler class by simply changing the Client.pickler and > Client.unpickler variables to the class that you wish to use. By which > that class would operate like pickle itself does. >

Re: python-memcached Fork

2009-07-23 Thread NICK VERBECK
I may be mis-understanding this or not seeing what problems you had but doesn't the current python-memcached lib support changing of the pickler class by simply changing the Client.pickler and Client.unpickler variables to the class that you wish to use. By which that class would operate

python-memcached Fork

2009-07-23 Thread Gavin M. Roy
I have created a fork of the python-memcached library to add support for other data serialization types. python-memcacheds supports de-serialization of Pickle, JSON and PHP serialization. It is based off of the current 1.44 version and should future versions be released, I will apply the

Python-memcached key errors

2009-05-22 Thread zepolen
I have run into this issue described exactly here: http://groups.google.com/group/memcached/browse_thread/thread/f72fea64b10f90cb/4b691dac1aa6f148 Unfortunately the thread goes off group, has anyone had the same issues and did they fix them?

Re: any sample python code on python-memcached

2008-10-02 Thread Martin MC Brown
Hi, I am new to memcached, and look to sample code or tutorial in python- memcached. Check the documentation for using Python/memcached/MySQL: http://dev.mysql.com/doc/refman/5.1/en/ha-memcached-interfaces-python.html MC -- Martin MC Brown, Technical Writer Database Technology Group

any sample python code on python-memcached

2008-10-01 Thread meiji
I am new to memcached, and look to sample code or tutorial in python- memcached. thanks,