Re: Redis cache support in core

2019-12-11 Thread 'Ivan Anishchuk' via Django developers (Contributions to Django itself)
Agree, an officially-recomended package plus "extra" dependency (so you don't have to look it up on every install) would probably be ideal. We don't need it in core as long as it's easy to install without looking up and works reliably. We could also think about adding some options in settings.py a

Re: Redis cache support in core

2019-12-06 Thread Jon Dufresne
can recall, do >> support Windows. >> >> >> >> *From:* django-developers@googlegroups.com [mailto: >> django-developers@googlegroups.com] *On Behalf Of *Jacob Rief >> *Sent:* Thursday, September 5, 2019 1:33 AM >> *To:* django-developers@googlegroups.com >&g

Re: Redis cache support in core

2019-09-05 Thread Aymeric Augustin
s@googlegroups.com [mailto: > django-developers@googlegroups.com] *On Behalf Of *Jacob Rief > *Sent:* Thursday, September 5, 2019 1:33 AM > *To:* django-developers@googlegroups.com > *Subject:* Re: Redis cache support in core > > > > I'm also in favor on having it as part of the

Re: Redis cache support in core

2019-09-05 Thread Christian González
gt;>   >> *From:* django-developers@googlegroups.com >> <mailto:django-developers@googlegroups.com> >> [mailto:django-developers@googlegroups.com] *On Behalf Of *Jacob Rief >> *Sent:* Thursday, September 5, 2019 1:33 AM >> *To:* django-developers@googlegroups

Re: Redis cache support in core

2019-09-05 Thread Tom Forbes
rs@googlegroups.com > Subject: Re: Redis cache support in core > > I'm also in favor on having it as part of the core, since memcache is also > supported. > > One of the nice features Redis provides, is the possibility to invalidate one > or more cached object by using a

RE: Redis cache support in core

2019-09-05 Thread Matthew Pava
, September 5, 2019 1:33 AM To: django-developers@googlegroups.com Subject: Re: Redis cache support in core I'm also in favor on having it as part of the core, since memcache is also supported. One of the nice features Redis provides, is the possibility to invalidate one or more cached object by us

Re: Redis cache support in core

2019-09-04 Thread Jacob Rief
I'm also in favor on having it as part of the core, since memcache is also supported. One of the nice features Redis provides, is the possibility to invalidate one or more cached object by using a wildcard key. It namely is the method delete_pattern() added by django-redis-cache to the given Djang

Re: Redis cache support in core

2019-09-04 Thread Carlton Gibson
A bit delayed but, I'd support a Redis in core. (I still periodically have to go look up the difference between django-redis and django-redis-cache; "Which one did I pick last time?" I think we could help folks out with the first steps here.) Aymeric's summary seems correct: On Thursday, 20 J

Re: Redis cache support in core

2019-06-27 Thread Josh Smeaton
Markus, I'd prefer that approach over vendoring a more incomplete solution. Bonus points if we can add packages to extra_requires, so that `pip install Django[redis]` would work nicely. On Friday, 21 June 2019 23:17:25 UTC+10, Markus Holtermann wrote: > > Hi all, > > may I suggest that django-r

Re: Redis cache support in core

2019-06-21 Thread Markus Holtermann
Hi all, may I suggest that django-redis may be "promoted" to an official Django package under the Django GitHub organization? This would follow https://github.com/django/deps/blob/master/final/0007-official-projects.rst . The package would be pointed out explicitly in the Django docs but would

Re: Redis cache support in core

2019-06-21 Thread 'Ivan Anishchuk' via Django developers (Contributions to Django itself)
I wouldn't say it's that complicated a setup. It would require a single settings snippet -- just like the ones for other backends -- and, I guess, a link to django-redis docs for more details (if django-redis is what we recommend), maybe a quick explanation of what is CLIENT_CLASS and other options

Re: Redis cache support in core

2019-06-20 Thread Loïc Bistuer
From: "django-developers@googlegroups.com" on behalf of Aymeric Augustin Reply-To: "django-developers@googlegroups.com" Date: Thursday, 20 June 2019 at 15:35 To: "django-developers@googlegroups.com" Subject: Re: Redis cache support in core Hello, Until now, t

Re: Redis cache support in core

2019-06-20 Thread Aymeric Augustin
Hello, Until now, this feature request was always declined. As a consequence, every user who wants Redis has to choose between django-redis and django-redis-cache. Considering that Redis must be the most popular cache backend these days, I'm in favor of providing an off-the-shelf solution in Dj

Re: Redis cache support in core

2019-06-19 Thread Josh Smeaton
Celery explicitly document their integration with Redis though. I don't think we want to take over documenting the setup of a 3rd party package in Django. On Thursday, 20 June 2019 11:00:27 UTC+10, Ivan Anishchuk wrote: > > How about making one of the third-party packages an optional dependency?

Re: Redis cache support in core

2019-06-19 Thread 'Ivan Anishchuk' via Django developers (Contributions to Django itself)
How about making one of the third-party packages an optional dependency? Celery, for example, does that: you can just install celery[redis] without having to figure out what other packages you need to enable redis support. Ivan. On Wed, Jun 19, 2019 at 6:44 AM Josh Smeaton wrote: > There are al

Re: Redis cache support in core

2019-06-18 Thread Josh Smeaton
There are already several 3rd party packages that implement redis as a django cache backend, for example https://github.com/niwinz/django-redis We already have a base class for cache backends - and several implementing it (such as memcache). I don't think there's much benefit taking on another

Redis cache support in core

2019-06-17 Thread Dulmandakh Sukhbaatar
Hello, I would like to work on Redis support in core, and I would like to discuss proper solution for that. Redis is getting so popular and almost every modern backend stack uses it someway, therefore I think that supporting it as a cache backend in core would make Django more appealing. A sol