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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-memcached-hashring-0.1.2.tar.gz
.
File metadata
- Download URL: django-memcached-hashring-0.1.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71f99d60e704cc239bddbbe336dcdc5bb8a487b65a1b0b6c7ce0f4af5848442 |
|
MD5 | e625b5108f2e0e03096242971cefafff |
|
BLAKE2b-256 | 241dc9d312e93ef782822305a76b9fe0990adb43212caac13d42e15093c56fba |
File details
Details for the file django_memcached_hashring-0.1.2-py27-none-any.whl
.
File metadata
- Download URL: django_memcached_hashring-0.1.2-py27-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 2.7
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14c2dc29bc693feaf114dea8c871f4d25daca72bba8f37b159d552fed4ab6337 |
|
MD5 | bdf1b0eff9248fc14111bdf6f2e6164a |
|
BLAKE2b-256 | aac8d609582e473f661e532b6006d646a1892e9868709daf06e3c9a1183d0e62 |