Python web framework and asynchronous networking library
open sourceApache-2.0free
Tornado is a Python web framework and asynchronous networking library, first developed at FriendFeed. Its non-blocking network I/O lets one server handle tens of thousands of open connections, which suits long polling, WebSockets and other apps that keep a long-lived connection to each user. It integrates with Python's asyncio.
Problems it solves
- serve WebSockets from a Python app
- handle tens of thousands of concurrent connections in Python
- build an async web server in Python
Features
- asynchronous web framework
- non-blocking network I/O for many open connections
- WebSockets and long polling
- asyncio integration
Alternatives
The same job
These do what Tornado does.
- aiohttp Asynchronous HTTP client/server framework for asyncio and Python
- Sanic Fast asynchronous Python web framework with its own production server
- Starlette Lightweight ASGI framework and toolkit for async Python web services
- FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production
