python - Is Tornado using multiprocessing internally? -


is tornado using multiprocessing module internally? considering tornado, being web server, needs handle lots of concurrent requests, think makes sense tornado use multiprocessing , therefore take full advantage of multiple cores.

if not, why not?

it doesn't not use multiprocessing. instead, uses non-blocking io (only 1 thread , 1 process). see this blog post description of how works , why fast.

other servers gunicorn use separate processes take advantage of multiple cores.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -