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.

Source Distribution

django-memcached-hashring-0.1.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

django_memcached_hashring-0.1.2-py27-none-any.whl (3.8 kB view hashes)

Uploaded Python 2.7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page