There's more...

While Redis is able to handle caching in the same manner as Memcached, there is a multitude of additional options for the caching algorithm built right into 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-cache backend, Redis can also be configured as the session backend with almost no effort, like so:

# myproject/settings/_base.py
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
SESSION_CACHE_ALIAS = "default"
..................Content has been hidden....................

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