Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-arakoon-cache-0.1.0.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page