93 points · by BukhariH · 12y ago · 24 comments
"The test was only set to reach up to 100 concurrent connections (each sending 1000 messages per second) - Total of 100K messages per second."
So they had only 100 concurrent connections.
That doesn't seem like much from past experience writing high-throughput messaging code, and all this is doing is spitting out length-framed messages to a socket.
We see approximately 600,000 of these HTTP "messages" per second on a i7-2600K 8 HT core workstation [1] from top performers such as Netty and Undertow and these top performers are network limited by our gigabit Ethernet.
We are using Undertow for a Websocket project presently and its performance there has been very good.
[1] http://www.techempower.com/benchmarks/#section=data-r9&hw=i7...
I have never worked with node though... so maybe it's ... sort of ... "fast for node". Not fast in absolute terms.
http://www.solarflare.com/09-11-12-Solarflares-Industry-Lead...
You need to totally bypass the linux kernel to do this, and have high perf C or Java code...
Would also be interested in seeing how many connections it could handle doing say 5-10 messages per second.
I wrote an example application using it here: https://github.com/guille/weplay