Skip to main content

A Django cache backend for Memcached with consistent hashing.

Project description

A simple Django cache backend based on python-memcached using hash_ring for consistent hashes. See the individual packages’ documentation for more info.

Use it like this:

CACHES = {
    'default': {
        'BACKEND': 'memcached_hashring.backend.MemcachedHashRingCache',
        'LOCATION': [
           '10.0.0.1:11211',
           '10.0.0.2:11211',
           '10.0.0.3:11211',
        ],
    },
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-memcached-hashring, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django_memcached_hashring-0.1.2-py27-none-any.whl (3.8 kB) File type Wheel Python version py27 Upload date Hashes View
Filename, size django-memcached-hashring-0.1.2.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page