News for hackers. Stuff that matters.
Re:Understanding the code inside Tornado, the asynchronous w... by jparise on Saturday May 07, 2011 @02:30PM (#2524254)
Some of this is a bit dated. It looks like it was written in late 2009, judging by the first comment. For example, IO loop timers are now stored using a heapq[1] instead of a sorted list, and many of the other issues have been similarly addressed over the last year and a half.

Still, this is a good general overview of Tornado's internals.

[1] https://github.com/facebook/tornado/commit/b6c4d6d20196fa4fe...

Re:Understanding the code inside Tornado, the asynchronous w... by bdarnell on Saturday May 07, 2011 @03:13PM (#2524338)
The heapq change was just last week and has not yet been in any release, so that's a perfectly reasonable omission. :) But yes, this is about a pre-1.0 release, so I would encourage anyone interested in exploring tornado internals to check out a more recent release.