[nodejs] CPU raises to 70%-90%

2013-04-14 Thread anil kumar
A Simple Hello World Program (No third paty modules included) takes 70-90% of CPU when ab -n 1000 -c 100 http://x.x.x.x:3000/ (100 concurent connections) on 2GB server . Is it default in node or need to change any setting regarding CPU usage ? Node version - 0.10.0 && 0.10.4 Server : AWS Sma

Re: [nodejs] CPU raises to 70%-90%

2013-04-14 Thread Fedor Indutny
I believe its ok, because you're doing "stress-testing". Cheers, Fedor. On Sun, Apr 14, 2013 at 8:58 AM, anil kumar wrote: > A Simple Hello World Program (No third paty modules included) takes 70-90% > of CPU when > ab -n 1000 -c 100 http://x.x.x.x:3000/ (100 concurent connections) > on 2GB se

Re: [nodejs] CPU raises to 70%-90%

2013-04-14 Thread Ben Noordhuis
On Sun, Apr 14, 2013 at 2:58 PM, anil kumar wrote: > A Simple Hello World Program (No third paty modules included) takes 70-90% > of CPU when > ab -n 1000 -c 100 http://x.x.x.x:3000/ (100 concurent connections) > on 2GB server . Is it default in node or need to change any setting > regarding CPU u