3 ms·
To be fair one of the selling points of Tornado when it came out was Speed. But that isn't really the point, my comment was about understanding how much choosi
by sausagefeet 16y ago
To be fair one of the selling points of Tornado when it came out was Speed. But that isn't really the point, my comment was about understanding how much choosing framework X is or isn't costing you relative to other choices. I'm not saying people should use Warp, I simply read the post recently so it was fresh in my mind.
- wladimir 16y agoPython has gevent, which is much faster than Tornado, at least at microbenchmarks (see http://nichol.as/benchmark-of-python-web-servers http://nichol.as/benchmark-of-python-web-servers ). It's probably in the same league as Node. In the article they also give the reason why Warp is so much faster: it auto-scales to four cores. The Python frameworks don't do this, you have to use multiprocessing for that (or just run an instance for every core).
- sausagefeet 16y agoAgain I think you're missing what I was saying. I'm not saying you should chose Node over Tornado or making any kind of value judgement, I'm saying it would be interesting to state the costs of choosing various frameworks to help make better decisions. On a side note I'm very skeptical of the claim that gevent is in the same league as Node, the numbers in this site are close to the Warp numbers and gevent is still about 6x slower than Node. (Unless I'm reading the microbenchmark wrong). But that's the problem with microbenchmarks, they don't really tell you much. EDIT: Clarity