Twisted is more mature - it has been around for a long time and has so many bells and whistles that it makes your head spin (implementing the most bizarre protocols, integrating a reactor with a wide variety of other loop events, etc.).
Node. I have never measured relative performance).
So, I would absolutely use Twisted if I needed any additional features or wanted to feel on more solid ground, using a more mature package. If these considerations do not apply, but the main performance is the key goal of the project, I would write a simple test (but still representing at least one or two key performance situations for my actual project) in Twisted, Node.js and Tornado , and take many careful measurements before I decide which direction to go in general. The "extra features" (third-party extensions and the standard library) for Python and Javascript on the server side are also much more numerous, and this may be a key factor if such projects are needed for the project.
Finally, if none of these issues is specific to the application scenario, ask the development team to vote on the relative simplicity of the three candidates (Twisted, Node.js, Tornado) in terms of simplicity and familiarity - any of them will probably be ok perhaps choose the one that is most convenient!
Alex Martelli Aug 11 '10 at 18:32 2010-08-11 18:32
source share