Re:Node.js Versus LUA "Hello World" HTTP Server Showdown
by kurokikaze on Wednesday October 13, 2010 @04:27AM
(#1786527)
Why empty callback on 'connect'? It will go to event loop for every client, and yet do nothing of value.
[ Parent
| on HN ]
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown
by mrb on Wednesday October 13, 2010 @04:33AM
(#1786536)
Good point. I inherited this design flaw from the snippet he posted on his blog.
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown
by simonhf on Friday October 15, 2010 @01:09PM
(#1795314)
mrb, please note that the connections per second and queries per second are handled individually in the benchmark. So the connect handler should make no difference to the queries per second.