Can anyone offer a brief account of how Channels uses threads to service 
multiple requests?

My understanding is that there are multiple workers, and I imagine each is 
a thread which can handle one request (Django view-style request) at a 
time. Is this correct? I also don't quite understand how this is possible 
in one Python process given the Global Interpreter Lock.

Basically I am trying to reason about race conditions and scaling, and I 
don't have enough understanding to do it.

Apologies if this is document elsewhere, but I've so far not been able to 
find it.

  - Jonathan

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/b2da063e-0fa0-4f35-a86d-536fe210f1b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to