Answer the question
In order to leave comments, you need to log in
Running multiple Tornado or Tornado WSGI/Gunicorn processes?
Hello.
I have been working with Tornado for a long time with its non-blocking API building features (Tornado+Motor). But what if I want to use Tornado as the basis of a web service that does not require work in a non-blocking manner (Lots of work with data that clutters up 1 thread)?
As far as I understand from the docks to Gunicorn - this server runs 2xNumber of cores - processes. Will it be equivalent if I start the same number of Tornado processes? Or do Gunicorn and similar servers start so many master processes, and these master processes fork for every new connection?
Answer the question
In order to leave comments, you need to log in
I have several Tornados running behind Nginx balancing them, the flight is normal, maybe this solution will suit you too.
As for blocking calls...
www.tornadoweb.org/en/latest/faq.html
Point 3.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question