What is Tornado and its core components
masterTornado is a Python web framework and asynchronous networking library designed for high-concurrency applications. It uses non-blocking network I/O to scale to tens of thousands of open connections, making it suitable for WebSockets, long polling, and other long-lived connection protocols.
Core components include:
- Web Framework: Provides
.RequestHandlerfor creating web applications and various supporting classes. - HTTP Implementations: Includes
.HTTPServer(server-side) and.AsyncHTTPClient(client-side). - Asynchronous Networking Library: Built on
.IOLoopand.IOStream, which serve as the foundation for HTTP components and can be used to implement custom protocols.