When comparing Tornado vs TurboGears 2, the Slant community recommends Tornado for most people. In the question“What are the best general-purpose Python web frameworks usable in production sites?” Tornado is ranked 7th while TurboGears 2 is ranked 11th. The most important reason people chose Tornado is:
Tornado can scale to several open connections at the same time. This makes it perfect for applications where performance is very important.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Designed for performance
Tornado can scale to several open connections at the same time. This makes it perfect for applications where performance is very important.
Pro Amazing asynchronous functionalities
Pro A powerful and flexible Object Relational Mapper (ORM) with real multi-database support
SQLAlchemy is a powerful ORM which is highly regarded in the Python community. TurboGears' ORM is built with SQLAlchemy, which gives it a great deal of flexibility and power.
Pro Code that is as natural as writing a function
Pro Starts as a microframework and scales up to a fullstack solution
Allows developers to build quick, simple web prototypes or scale up to create complex web applications.
Pro Support for Horizontal data partitioning (aka, sharding)
TurboGears allows for horizontal data partitioning, which allows the division of logical datatabases into smaller elements.
Pro Built in extensibility Pluggable Applications and standard WSGI components
Allows for creating extendable Pluggable Applications which extend the framework itself through endpoints provided by TurboGears.
Pro Validated and compile time checked template engine
The template engine is XHTML based and so is validated for errors when compiled to HTML. You will never serve a broken page again due to a forgotten close tag
Pro Aims for a flexible design
TurboGears2 does not get in your way on how to design your applications, classes etc.
Cons
Con It's usually useful only when building real-time web applications
Because it's basically a framework for building real-time applications it has great support for things like WebScokets and uses non-blocking I/O. But it lacks in features that are used to build general-purpose websites like blogs, e-commerce sites, web portals etc...
For example it lacks ORM integration (at least out of the box) and it doesn't have a very powerful template engine.
Con The great extensibility can feel overwhelming
Sometimes TurboGears' extensibility and feeling of having different options for doing a single thing can feel overwhelming and as if writing everything from scratch.