Example code is here: https://gist.github.com/alexeyten/45fb4319e4158feb793a
I've tested this code with Node.js 4.2.1
This server just response with OK and restart workers after 200-300 completed requests. With default cluster scheduler (SCHED_RR) server eventually loses some requests and ab stops with timeout error. When I uncomment line 5 and use SCHED_NONE scheduler, then server works fine.
/cc @indutny
Example code is here: https://gist.github.com/alexeyten/45fb4319e4158feb793a
I've tested this code with Node.js 4.2.1
This server just response with
OKand restart workers after 200-300 completed requests. With default cluster scheduler (SCHED_RR) server eventually loses some requests andabstops with timeout error. When I uncomment line 5 and useSCHED_NONEscheduler, then server works fine./cc @indutny