Re:Tornado 1.2
by statictype on Tuesday February 22, 2011 @10:01PM
(#2252805)
That's interesting. The conventional wisdom I've seen and read is that multi-threaded servers are generally more buggy and harder to reason about than using a single select loop with callbacks. Callbacks are more difficult to maintain state with, but they don't have race conditions and locking issues.
I agree that if you can get coroutines in your language, then perhaps that's the ideal path to take.
I agree that if you can get coroutines in your language, then perhaps that's the ideal path to take.