Re: #11675:Pyblic+Memcache changes, Draft #1

2010-12-01 Thread Jacob Burch
emcached -Jacob On Dec 1, 3:55 pm, Robert Coup wrote: > Hi Jacob, > > On Thu, Dec 2, 2010 at 8:05 AM, Jacob Burch wrote: > > > The problem is I can't think of a good way to force instant-expiring > > sets in pylibmc. The only way to fake the response is to alter the &g

Re: #11675:Pyblic+Memcache changes, Draft #1

2010-12-01 Thread Jacob Burch
>  * The timeout handling code should be abstracted behind > _get_memcache_timeout(). That utility already exists to ensure the > eccentricities of memcached timeout handling are supported, and I > can't see an obvious reason why we can't put this check in there too. > The problem is I can't thin

#11675:Pyblic+Memcache changes, Draft #1

2010-11-29 Thread Jacob Burch
History: http://code.djangoproject.com/wiki/PylibmcSupport Draft: https://gist.github.com/91de59e53f7f36f461ec Caveats/Notes: A) This is only the memcache.py file, changes to conf/global_settings and core/cache/base will be needed to handle the move towards CACHE_SETTINGS B) pylibmc and memcache

Re: Pylibmc Support: Part 2

2010-10-11 Thread Jacob Burch
On Oct 8, 12:36 am, Russell Keith-Magee wrote: > > * Pylibmc 1.1 doesn't play that nice with mod_wsgi due to it's use of > > the Simplified GIL API > > (see:http://www.dctrwatson.com/2010/09/beware-of-using-pylibmc-1-1-and-mod...). > > Probably just need to make note of it in the documentation, b

Pylibmc Support: Part 2

2010-10-07 Thread Jacob Burch
Bringing this back for more design decision discussion. I've started a (very basic) wiki page with a brief summation of the situation here: http://code.djangoproject.com/wiki/PylibmcSupport Of note from that wiki page are three main issues I raised with various django developers while at Django Co

Re: Deprecating cmemcache, adding pylibmc

2010-02-28 Thread Jacob Burch
Thanks all for the helpful discussion here. From the sounds of thing, my course of action will be: 1) Get a patch that throws a FutureDeprecationWarning when cmemcache is used + Change of the docs to note the coming deprecation of cmemcache 2) Begin working on a more involved patch that hopefully

Deprecating cmemcache, adding pylibmc

2010-02-21 Thread Jacob Burch
This is in regards to Tickets #11675 and #12427. Review of the problems - There are two overarching problems with Django's current implementation of memcached as a backend: A) The import tree method of picking the appropriate library (if I have cmemcache use it, if not use python-memcache, i