문제

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