Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kurokikaze
· 16y ago · 0 comments
Why empty callback on 'connect'? It will go to event loop for every client, and yet do nothing of value.
Comments
[–]
mrb
16y ago
Good point. I inherited this design flaw from the snippet he posted on his blog.
[–]
simonhf
16y ago
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.