On 19/02/14 18:20, Nitin Gupta wrote:
My intent was same. I load test my app and increases the load successively.
when it reaches to 10000 or above, a latency of more than 1sec is introduced (as
CPU shoot up) which is not acceptable.
so at this point my app is behaving like accepting 10000 req/s.
As already suggested in this thread, you could use clustering
(http://nodejs.org/api/cluster.html). If you spun up on Node.js per-core (possibly
one Node.js process per-thread) you would be able to make the best use of your
6-core, 12-thread processor (though I doubt 1M connections per second is
achievable on a single machine).
Regards,
Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini
--
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.