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
Post a Comment