aalebedev / django-redis

Full featured redis cache backend for Django.

Home Page:https://django-redis.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redis cache backend for Django

Full featured redis cache backend for Django.

https://travis-ci.org/niwibe/django-redis.png?branch=master https://pypip.in/v/django-redis/badge.png https://pypip.in/d/django-redis/badge.png

Documentation

Read the Docs: https://django-redis.readthedocs.org/en/latest/

Features:

  • In active development.
  • Support for Master-Slave setup.
  • Support client side Sharding setup
  • Complete battery of tests (accepting improvements).
  • Used in production environments on several projects.
  • Can set keys with infinite timeout: cache.set('key', 'value', timeout=0)
  • Pluggable clients.
  • Python3 support with same codebase.
  • Supports Django: 1.3, 1.4, 1.5 and 1.6
  • Can take advantage of the connection pool with directly access to the raw redis connection.
  • Can emulate memcached backend behavior with connection exceptions (see more :ref:`Settings <settings>`)

Future plans/In developement

  • Auto failover

How to install

Run python setup.py install to install, or place redis_cache on your Python path.

You can also install it with: pip install django-redis

About

Full featured redis cache backend for Django.

https://django-redis.readthedocs.org/en/latest/

License:Other


Languages

Language:Python 100.0%