On Wed, Mar 17, 2021 at 09:42:26AM -0700, erfan faraj wrote:
> On Wednesday, March 17, 2021 at 8:10:41 PM UTC+3:30 Ryan Nowakowski wrote:
> > On Wed, Mar 17, 2021 at 07:15:20AM -0700, erfan faraj wrote:
> > > On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Nowakowski
> > wrote:
> > > >
> > > > I haven't messed much with Django async. Could your video streaming
> > view
> > > > be blocking the asgi run loop?
> > > >
> > > you mean the event loop?
> >
> > Yup
> >
> I would think so but why should it? it didn't do that in the wsgi version.
> what happens behind the scenes in wsgi that causes it to not block other
> requests
Perhaps your wsgi server uses a thread per request but your asgi server
doesn't? Again, I'm just hypothesizing since I really haven't done
much with async. I'll probably shut up now and let someone with actual
knowledge step in ;)