3 ms·
The SO question and many of these comments are ridiculous because Haskell has already solved this issue in a much better way. Here is the benchmark: http://ww
by gregwebs 15y ago
The SO question and many of these comments are ridiculous because Haskell has already solved this issue in a much better way. Here is the benchmark:
http://www.yesodweb.com/blog/2011/03/preliminary-warp-cross-language-benchmarks http://www.yesodweb.com/blog/2011/03/preliminary-warp-cross-...
Give Haskell 4 cores and it can do 100k (simple) requests per second in a single application. Node can't do as many, and can't scale a single application across cores. And you don't have to do anything to reap this because the Haskell runtime is non-blocking. The only other (relatively common) language that has non-blocking IO built into the runtime is Erlang.