Arakoon cache backend for Django.
Project description
Arakoon cache backend for Django.
Install
pip install https://github.com/Incubaid/arakoon/archive/1.6.0.tar.gz pip install django-arakoon-cache
Development
To run tests, there is a test django app cache_app used for testing ArakoonCache.
Make sure you run an Arakoon cluster with 3 nodes, running on the sample config found in arakoon/conf/arakoon.ini.
pip install -r requirements.txt python tests/manage.py test cache_app
Django settings
This is an example of configuring django to use ArakoonCache as a cache backend.
Assuming we are running an Arakoon cluster of 3 nodes.
CACHES = { 'default': { 'BACKEND': 'django_arakoon_cache.cache.ArakoonCache', 'LOCATION': { 'arakoon_0': ('127.0.0.1', 4000), 'arakoon_1': ('127.0.0.1', 4001), 'arakoon_2': ('127.0.0.1', 4002) }, 'OPTIONS': { 'cluster': 'django' } } }
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
Close
Hashes for django-arakoon-cache-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23843588ee488a320b5ea4bb28b7cc01e44439611a39ba809fba1852f7715180 |
|
MD5 | 4246bb6d4ffefb23896f94e8f6dabbf4 |
|
BLAKE2b-256 | 075dd7c1061070f231ba0ac3163fe7ad614ff2726e650767bf0ea906267cc798 |