Tornado is a Python web framework that focuses on speed and handling large amounts of simultaneous traffic. It allows starting multiple sub-domains on different ports with auto-reloading capabilities. Tornado handles requests by routing them to different handlers that can render templates and return responses. It also supports asynchronous delayed responses using asynchronous HTTP clients.
2. Lean Basics While Tornado is similar to existing Web-frameworks in Python (Django, Google's webapp, web.py ), it focuses on speed and handling large amounts of simultaneous traffic.
3. RSS reader flagged/read/favourite/selected Show current status/price for a number of products Ask the server to process an image Routing chat between webapps Web User Scenarios
4. Server Startup Multi sub-domain, auto-reloading process Multi sub-domain, auto-reloading process ioloop = tornado.ioloop.IOLoop.instance() for n in structure.SITES: site = structure.SITES[n] if site["package"] in ("tornado", "mediaserver"): server = HTTPServer( Application (urls,site,ioloop=ioloop)) server.listen(site["port"]) tornado.autoreload.start(io_loop=ioloop) ioloop.start()