Skip to content
A Django cache backend for Memcached with consistent hashing.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
memcached_hashring
.gitignore
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

django-memcached-hashring

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',
        ],
    },
}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.