I'm not arguing or anything, but that's what I observed and recorded during
load testing.  Not just once but load testing over weeks, conducted by not
just me but a whole team of developers.

Node.js itself will not crash if hitting open file limit, but some sockets
will hang up, and response get slower, etc.

No matter what, one of the solutions is to increase the open file to
...e.g. over 10K.   then you will be safe in most cases.




On Sun, Aug 26, 2012 at 7:09 PM, darcy <freeda...@gmail.com> wrote:

> if your server has reach the cpu upper limit(cpu idle approach 0%) with n
> clients, then the response time will increase with the client number linear.
>
>
> On Thursday, August 23, 2012 1:34:31 PM UTC+8, Jason.桂林(Gui Lin) wrote:
>>
>> test by node.js http helloworld
>>
>> 10 concurrent connections
>> response: 0ms(min) 19ms(max) 1ms(avg)
>>
>> 30 concurrent connections
>> response: 2ms(min) 20ms(max) 4ms(avg)
>>
>> 100 concurrent connections
>> response: 7ms(min) 43ms(max) 15ms(avg)
>>
>> 1000 concurrent connections
>> response: 6ms(min) 212ms(max) 167ms(avg)
>>
>> We can see that, node.js response time increased with concurrent
>> connections, any one can explain this?
>>
>> And how to avoid this problem, and if it is not http but tcp, will it be
>> an critical issue for multi player online game server, there will be many
>> concurrent connections.
>>
>> --
>> Best regards,
>>
>> 桂林 (Gui Lin)
>>
>> guileen@twitter <https://twitter.com/#!/guileen>
>> 桂糊涂@weibo <http://weibo.com/guileen>
>> guileen@github <https://github.com/guileen>
>>
>>  --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to