Code

Opened 7 years ago

Closed 7 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: UI/UX:

Description

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@… 7 years ago.
Patch to allow cmemcache to be used instead of memcache.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by floguy@…

Patch to allow cmemcache to be used instead of memcache.

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 7 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.