Hi! Handling millions of simultaneous connections is not the same thing as handling millions requests per second.
On Tue, Feb 18, 2014 at 2:27 PM, Nitin Gupta <[email protected]> wrote: > Hi, This is regarding scaling node.js application. I have heard a lot of > buzz around handling millions of connection by single node.js server. > > To check that i wrote a http server which was returning nothing but 200 ok > and CPU started blowing up with 10000 concurrent requests. > > CODE: > my_http.createServer(function(request, response){ > response.writeHead(200); > response.end(); > }); > > I have an application which has to handle 1M concurrent connections but what > i found with testing doesn't seem like a solution to this. Please guide me > through this. Have i missed something or is it not possible with barebone > node.js server. > > My application looks like: > a.) MongoDB with node.js > b.) A post request with some params. > c.) Saving params' values to DB and return to client with success or failure > > -- > -- > 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. -- -- 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.
