The reason I’m asking is that this post
http://amix.dk/blog/post/19577
Indicates that Node.js 0.2.2 seems to have a threshold of 500/s and is outperformed 10x by Netty. In the comments, Ryan Dahl indicates that it was possibly because of a bug which has been subsequently fixed. However I cannot find in the remainder of the post or elsewhere any confirmation that the issue was resolved and if so updated benchmarks. We are now many versions ahead of the one referenced above and I’m wondering if there are any benchmarks, formal or otherwise pertaining to Comet requests/second.
If there are no benchmarks, it would be good to know in general terms whether the issue flagged by Amir is still outstanding. 500 comet/second is a threshhold that could be reached by a modest sized chat/game focused site.
node.jshas come a long long way from0.2.2. It seems likely there were also implementation issues with the architecture being discussed in the linked post, as comments suggest they did not consider using multiple node processes with a load balancer.This is clearly a necessity for high performance applications — indeed, the last paragraph of the
node.jsofficial about section reads:Now, considering that a single node
0.2.2process used %10 of the resources of Netty (as is mentioned in the OP linked post), then they could have run 10 node processes on the same hardware, which begs the question: If Netty is 10x faster than node, but uses 10x the resources, then wasn’t their performance actually the same? Meanwhile, node’s performance has been drastically improved in the>=0.6.0releases, especially on machines running Windows, which is now supported natively. See the Windows benchmarks from the0.6.0release notes:Meanwhile, though nobody seems to want to talk about what exactly they’re doing, it seems some of the highest traffic tech players are turning to
node.jsfor extremely high-capacity systems.Google,Yahoo,Mozilla,LinkedInand startupi.TVare all profiled in the article Node at scale published yesterday on venturebeat.com.While I couldn’t find exact benchmarks for comet/second, it seems clear that with proper system architecture it is much, much higher than 500.