python - How can I use redis with Django? -


I've heard of redis-cache but how does it actually work? Is there a layer rdbms query used between coding by Djangogo and my RDBMS?

Or should it be used directly as a database? Which I doubt, because there is no login details in that gitub page, there is no setup .. just ask you to set some config properties.

This is a clear example example in Python module readme for Redis:

Redis is designed to be a RAM cache. It supports archiving of original GET and SET keys and archives such as dictionaries. You can store RDBMS queries in radis for your output. The goal will be to speed up your DNS site. Do not start using Redis or any other cache unless you require speed - do not optimize prematurely.


Comments