Hacker News new | ask | show | jobs
by kurokikaze 5721 days ago
Why empty callback on 'connect'? It will go to event loop for every client, and yet do nothing of value.
1 comments

Good point. I inherited this design flaw from the snippet he posted on his blog.
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.