Tornado '@run_on_executor' is blocking
问题 I would like to ask how tornado.concurrent.run_on_executor (later just run_on_executor ) works, because I probably do not understand how to run synchronous task to not block the main IOLoop. All the examples using run_on_executor , which I found, are using just time to block the loop. With time module it works fine, but when I try some time intesive calculations, using run_on_executor , the task blocks the IOLoop. I am able to see that the app uses multiple threads, but it is still blocking.