I noticed that there are two different projects for using redis for django cache

https://github.com/sebleier/django-redis-cache/

https://github.com/niwibe/django-redis

Is one better known than the other, more of a standard package? I can't decide which to use.

有帮助吗?

解决方案

I am currently using django-redis as cache backend for Redis. I haven't used django-redis-cache so far, but what made me take the decision to use django-redis are the following:

  • Modular client system (pluggable clients).
  • Some of the pluggable clients come out of the box (shard client, herd client, etc.)
  • Master-Slave support in the default client.
  • Facilities for raw access to Redis client/connection pool (very useful).
  • Better documented.

On django-redis documentation site, you can find more reasons to consider it. What I can tell from my experience so far is that I am very happy with django-redis.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top