Can Flask use the async feature of Tornado Server? [duplicate]
No. It is possible to run Flask on Tornado's WSGIContainer
, but since Flask is limited by the WSGI interface it will be unable to take advantage of Tornado's asynchronous features. gunicorn
or uwsgi
is generally a much better choice than Tornado's WSGIContainer
unless you have a specific need to run a Flask application in the same process as native Tornado RequestHandlers
.