Skip to content

jezdez/django-memcached-hashring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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',
        ],
    },
}

About

A Django cache backend for Memcached with consistent hashing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages