News for hackers. Stuff that matters.
Re:600K concurrent HTTP connections with Clojure and http-kit by programnature on Monday January 28, 2013 @12:57AM (#5127364)
but is this an apple-to-apple comparison to the node.js results referenced in the post?
Re:600K concurrent HTTP connections with Clojure and http-kit by codeka on Monday January 28, 2013 @01:09AM (#5127392)
It seems to me it's not because the Node.js test used a remote machine to drive the connections whereas this one is driving the connections from the same machine. Running the server and test harness on the same machine bypasses a whole lot of networking stack.

Also, it seems the limitation in Node.js is the maximum heap size of around 1.4GB [1]. This test used a heap size of 3GB which is just not possible in Node (until the limitation is removed, anyway).

[1]: http://blog.caustik.com/2012/04/10/node-js-w250k-concurrent-...

Re:600K concurrent HTTP connections with Clojure and http-kit by shenedu on Monday January 28, 2013 @01:14AM (#5127408)
author here. Yes, Clojure can use more than 1.4G of heap, and can use threads. http-kit is multithreaded (one just for IO, others for computing response). A strength of Clojure?
Re:600K concurrent HTTP connections with Clojure and http-kit by notimetorelax on Monday January 28, 2013 @05:00AM (#5127888)
Frankly as somebody pointed out http-kit is written mostly in Java, so I would say that you're showing strength of JVM.
Re:600K concurrent HTTP connections with Clojure and http-kit by shenedu on Monday January 28, 2013 @05:14AM (#5127920)
Yes, JVM is strong. Clojure inherit it.