CMemcache support for faster memcached access.
|Reported by:||Owned by:||Jacob|
|Component:||Core (Cache system)||Version:||master|
|Severity:||Keywords:||memcached, memcache, speed, optimize, optimization|
|Cc:||floguy@…||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
cmemcache is a python wrapper around the libmemcache C library. According to the website:
cmemcache is about 2 times faster then python-memcache with short key names (8 characters), faster with larger key names.
That is a speed improvement that many django users would welcome. Since the cmemcache module is api-compatible with the current memcache module, all that's needed was a simple import clause.
There is still a fallback in case cmemcache cannot be found.