Skip to content
Myr

Stop recommending Tornado as a WSGI server

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Tornado's WSGI server is less scalable than the alternatives and only really makes sense when you have a specific need to run both WSGI apps and Tornado-native apps in the same process. This recommendation has been an ongoing source of confusion, e.g. http://stackoverflow.com/questions/26015116/making-tornado-to-serve-a-request-on-a-separate-thread. Fixes #986.

authored by Ben Darnell · committed by Ben Darnell · parent c6795eb · Browse files · 1 file+0 added−22 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−22 removed

  • other:+0 added−22 removed

1 file+0 added−22 removed

modified:docs/deploying/wsgi-standalone.rst-22 removed
25 unmodified lines
26.. _Gunicorn: http://gunicorn.org/27.. _eventlet: http://eventlet.net/28.. _greenlet: http://greenlet.readthedocs.org/en/latest/2930Tornado31--------3233`Tornado`_ is an open source version of the scalable, non-blocking web34server and tools that power `FriendFeed`_. Because it is non-blocking and35uses epoll, it can handle thousands of simultaneous standing connections,36which means it is ideal for real-time web services. Integrating this37service with Flask is straightforward::3839 from tornado.wsgi import WSGIContainer40 from tornado.httpserver import HTTPServer41 from tornado.ioloop import IOLoop42 from yourapplication import app4344 http_server = HTTPServer(WSGIContainer(app))45 http_server.listen(5000)46 IOLoop.instance().start()474849.. _Tornado: http://www.tornadoweb.org/50.. _FriendFeed: http://friendfeed.com/5130Gevent31-------3233`Gevent`_ is a coroutine-based Python networking library that uses
100 unmodified lines