uWSGI equivalent for Django-Channels -


i aware django request/response cycle , django channels different, question not this.

we know uwsgi/gunicorn creates worker processes , can configured execute each request in threads. can serve 10 requests "concurrently" (not in parallel) in single uwsgi worker process 10 threads.

now let's assume each web client wants create websocket using django channels, limited understanding (with vanilla implementation), process each message in single thread, means, process x amount of connections concurrently, need x amount of channel worker processes. know suggest increase number of processes, not here debate on this.

my question there existing libraries similar job uwsgi/gunicorn execute consumer functions in threads?

i think asking daphne. mentioned in channels document itself.


Comments