> see if you can get in on the beta.

protip: join #nodejitsu on freenode and ask about the beta, and
there's a good chance you'll get the mad hookups.

--Josh

On Tue, Feb 21, 2012 at 2:56 PM, Murvin Lai <murvin...@gmail.com> wrote:
> Recommendation:
> MongoDB: use the Instance wtih more memory.  It is memory intensive. (For
> single Mongo Server), and also one EBS for actual storage of the data
> (file).     i.e. you need 1 Ec2 (high memory) with 1 EBS.
> Node.js / expressJS : use a more CPU high instance. i.e. you need 1Ec2 (high
> CPU).   You probalby have 4CPU or more, so you can run cluster and utilize
> all CPU.
>
> How many users?  A lot.  i mean. it can take at least 2000+ req/sec  with
> one CPU.
>
> Other hints:  for Mongo, you need to also change your EC2 configure so that
> it has ulimit over 20000 for optimal performance.
> same as Node.js, better to set ulimit over 2000 for each CPU.  or if you do
> http remote call from node.js, then you need to increase ulimit (# of socket
> / file open) to over 10000.
>
>
>
> On Tue, Feb 21, 2012 at 11:19 AM, Amal <raj.a...@gmail.com> wrote:
>>
>>
>> I am working on a node web app with a very simple architecture. The
>> architecture is as follows:
>> - MongoDB as the database
>> - Nginx as the web server and as the reverse proxy.
>> - ExpressJs for the app server.
>>
>>
>> I was planning to use 2 large Amazon Large Ec2 instances for the same. One
>> large instance for the DB and another for the Node App.
>> But I got a few doubts.  Doubts are :
>>
>> - Large instance has 4 CPU EC2 units. But since Node does not yet use
>> multi-cores well, will it make sense to use a Large instance for the same.
>> Or Should I try to run multiple small instances.
>> - Has anyone ever had experience in running Node on EC2 Small instance.
>> How many users does it support simultaneously ?
>> -
>>
>> Amal.
>>
>> --
>> 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



-- 
Joshua Holbrook
Engineer
Nodejitsu Inc.
j...@nodejitsu.com

-- 
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