Skip to content
Myr

Merge pull request #1187 from bdarnell/patch-1

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

Stop recommending Tornado as a WSGI server

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents c6795eb, e401a83 · 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