Earlier quoted context omitted.
Its based on netty which surpassed c10k long ago. More generally modern socket concurrency is pretty high using epoll
It's not based on netty: > {:dependencies [[org.clojure/clojure "1.5.1"]]} netty is in the dev dependencies, but for benchmarking only I would guess. [edit] This project is one of the best thing that happened in the web area in clojure recently imho. Not only it is a game changer in performance/resource use, but it makes websocket and async in general trivial to use and actually production ready (same goes for its cl…
600K concurrent HTTP connections with Clojure and http-kit
11–20 of 28 posts
Re: 600K concurrent HTTP connections with Clojure and http-kit
#12Re: 600K concurrent HTTP connections with Clojure and http-kit
#13Re: 600K concurrent HTTP connections with Clojure and http-kit
#14Does anyone know how they managed to not only bypass the C10k limit, but bypass it by a factor of 60?
Re: 600K concurrent HTTP connections with Clojure and http-kit
#15Y'know... that little "K" abbreviation on the end is a pretty important detail. I skimmed the article about three times, thinking to myself: "600 users... Really? Big deal." It wouldn't hurt to actually emphasize "600,000" by explicitly expressing all of the zeroes.
Re: 600K concurrent HTTP connections with Clojure and http-kit
#16Wouldn't it be better if clients are running on different machine(s)?
Re: 600K concurrent HTTP connections with Clojure and http-kit
#17Re: 600K concurrent HTTP connections with Clojure and http-kit
#18Re: 600K concurrent HTTP connections with Clojure and http-kit
#19So? Not really impressed. WhatsApp are getting over 2M concurrent HTTP connections with Erlang in a production system. And this was 1 year ago. http://blog.whatsapp.com/index.php/2012/01/1-million-is-so-2...
Edit: It looks like the test was run only on localhost, which also means that it artificially removes much of the processing and actual network I/O factors from the equation.
Re: 600K concurrent HTTP connections with Clojure and http-kit
#20Java NIO has amazing performance. I'm surprised not more JVM languages taking advantage of it.