Allow Google's AppEngine Memcache library.
|Reported by:||blinks||Owned by:||nobody|
|Component:||Core (Cache system)||Version:||master|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
Google's AppEngine contains a modification of the Memcache library that is functionally compatible.
Several changes would make it easy to drop this into the existing cache system. One possibility is adding it to the try/except block at the top of [source:trunk/django/core/cache/backends/memcached.py django.core.cache.backends.memcached]. There could also be a setting that determines which library to use (like the TEMPLATE_LOADERS or MIDDLEWARE_CLASSES settings). Which is more Django-friendly?
Even if this doesn't need to be in trunk, I think that it would be useful to have an easy way to add a new memcache interface, and it seems like a violation of DRY to create a new backends module for something so compatible. Thoughts?
Change History (8)
Changed 6 years ago by blinks
comment:1 Changed 6 years ago by jacob
- Has patch set
- Needs documentation set
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 follow-up: ↓ 3 Changed 6 years ago by anonymous
- Triage Stage changed from Accepted to Design decision needed