Hi, im using django-1.10 + channels + asgi_redis + daphne + uwsgi + nginx 
but i have problem with workers+daphne being slow. 

Im developing chat and I tried how fast its by holding ENTER button 
(spamming messages one after one and it doesn't even respond until i stop 
sending messages.

When i try to test performance (sending message to websocket every 10 ms) i 
get kicked after 5 seconds..when i try to do it every 100 ms, nobody else 
can connect. I checked CPU usage and when i set runworker --threads 500 
there is running like 250 threads of workers...when i set 10 threads then 
its like no way to use it

Am I doing something wrong? Why are workers so slow in processing of one 
websocket message that is empty string?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b022e088-cbd6-4d1d-9ae3-3051535c286a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to