V
V
vhsporno2019-07-18 17:24:33
Django
vhsporno, 2019-07-18 17:24:33

Why does Django server work better than nginx+uWSGI?

When you go to a certain page, paramiko connects to SSH, it happens that the client freezes and the page loads for about 7 seconds, while if manage.py runserver is running, then I can navigate through other pages during the connection, that is, the main thread is not blocked. If this is all deployed on nginx, then if such a long connection occurs, then if I open another tab, it will not go to it until the connection ends, as if the main thread is blocked.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-07-18
@dimonchik2013

logs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question