Re: [nodejs] Poor cluster accept() distribution

2012-08-01 Thread Ben Noordhuis
On Wed, Aug 1, 2012 at 8:55 AM, Rusty wrote: > I am seeing really poor distribution of connections across a "cluster". > > For example (count of connections served on left, PID on right): > $ node test.js | awk '/connection/{print$2}' | sort | uniq -c > 438 4687 > 300 4688 >1008 4690 >

[nodejs] Poor cluster accept() distribution

2012-07-31 Thread Rusty
I am seeing really poor distribution of connections across a "cluster". For example (count of connections served on left, PID on right): $ node test.js | awk '/connection/{print$2}' | sort | uniq -c 438 4687 300 4688 1008 4690 293 4692 671 4693 3939 4697 1026 4698 2325