Django

Code

Ticket #3648 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

CMemcache support for faster memcached access.

Reported by: floguy@gmail.com Assigned to: jacob
Milestone: Component: Cache system
Version: SVN Keywords: memcached, memcache, speed, optimize, optimization
Cc: floguy@gmail.com Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

cmemcache.patch (0.6 kB) - added by floguy@gmail.com on 03/03/07 15:02:15.
Patch to allow cmemcache to be used instead of memcache.

Change History

03/03/07 15:02:15 changed by floguy@gmail.com

  • attachment cmemcache.patch added.

Patch to allow cmemcache to be used instead of memcache.

03/03/07 15:13:47 changed by Simon G. <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

03/25/07 18:29:32 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #3648 (CMemcache support for faster memcached access.)




Change Properties
Action