Re: Async Caching

2020-09-28 Thread Adam Johnson
C-4 Andrew Godwin wrote: > > > Agreed - there's no work on caching inside Django yet, since the ORM is my > next focus, but I would definitely suggest writing a new pluggable > third-party backend that somehow provides async versions of the methods. > > The main work to do here is t

Re: Async Caching

2020-09-27 Thread Andrew Godwin
talks should be held: Google or that forum? >>> >>> Thanks for the suggestions! Have fun with the ORM! >>> Andrew >>> On Saturday, September 26, 2020 at 8:38:07 PM UTC-4 Andrew Godwin wrote: >>>> __ >>>> Agreed - there's no work on cachin

Re: Async Caching

2020-09-27 Thread Andrew Wang
;>> my next focus, but I would definitely suggest writing a new pluggable >>> third-party backend that somehow provides async versions of the methods. >>> >>> The main work to do here is to work how quite how possible it is to >>> offer all of them and if ev

Re: Async Caching

2020-09-27 Thread Adam Johnson
less of what mode >> (sync or async) it's in; hopefully there's a lot less long-lived-connection >> issues than in the ORM, say. >> >> Andrew >> >> On Sat, Sep 26, 2020, at 3:56 PM, Adam Johnson wrote: >> >> Hi Andrew >> >> I don't

Re: Async Caching

2020-09-26 Thread Andrew Wang
issues than in the ORM, say. > > Andrew > > On Sat, Sep 26, 2020, at 3:56 PM, Adam Johnson wrote: > > Hi Andrew > > I don't believe any work has started on async caching in core. However > there is a plan in DEP 9, the document that outlines how asynchronous > caching

Re: Async Caching

2020-09-26 Thread Andrew Godwin
s started on async caching in core. However there > is a plan in DEP 9, the document that outlines how asynchronous caching will > work, using suffixed methods like get_async() etc. See > https://github.com/django/deps/blob/master/accepted/0009-async.rst#caching . > This sect

Re: Async Caching

2020-09-26 Thread Adam Johnson
Hi Andrew I don't believe any work has started on async caching in core. However there is a plan in DEP 9, the document that outlines how asynchronous caching will work, using suffixed methods like get_async() etc. See https://github.com/django/deps/blob/master/accepted/0009-async.rst#caching

Async Caching

2020-09-26 Thread Andrew Wang
Hey guys, I'd like to contribute to the effort to make Django more async capable. I've started to write an aioredis based cache backend based on django-redis, but I noticed the BaseCache in Django is still all synchronous basically. I was wondering which backends I should make async capable