Opened 12 years ago

Closed 12 years ago

#3648 closed (fixed)

CMemcache support for faster memcached access.

Reported by: floguy@… 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
Easy pickings: no UI/UX: 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.

Attachments (1)

cmemcache.patch (661 bytes) - added by floguy@… 12 years ago.
Patch to allow cmemcache to be used instead of memcache.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by floguy@…

Attachment: cmemcache.patch added

Patch to allow cmemcache to be used instead of memcache.

comment:1 Changed 12 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [4827]) Fixed #3648 -- Added support for cmemcached Python library. Thanks, floguy@…

Note: See TracTickets for help on using tickets.
Back to Top