There's more...

While Redis is able to handle caching in the same manner as Memcached, there are a multitude of additional options for the caching algorithm built right in to the system. In addition to caching, Redis can also be used as a database or message store. It supports a variety of data structures, transactions, pub/sub, and automatic failover, among other things.

Through the django-redis backend, Redis can also be configured as the session backend with almost no effort, like so:

# settings.py or config/base.py
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
SESSION_CACHE_ALIAS = 'default'

See the documentation of django-redis at http://niwinz.github.io/django-redis/latest/ for more possibilities.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.247.196