# Recommended # of mongrels for a default EC2 node

**URL:** <https://www.ruby-forum.com/t/recommended-of-mongrels-for-a-default-ec2-node/130729>\
**Category:** Deployment\
**Created:** [March 2, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/recommended-of-mongrels-for-a-default-ec2-node/130729 "2008-03-02T18:58:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![revo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7ab992/32.png) [@revo](https://www.ruby-forum.com/u/revo)\
**Post date:** [March 2, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/recommended-of-mongrels-for-a-default-ec2-node/130729/1 "2008-03-02T18:58:50Z")

</div>

Hi -

I was wondering if anyone had any experience with mongrels on EC2. If  
so, how many mongrels are recommended for the default ($0.10/hour) EC2  
node?

Thanks!

---

<div class="post-metadata">

**Author:** ![revo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7ab992/32.png) [@revo](https://www.ruby-forum.com/u/revo)\
**Post date:** [March 2, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/recommended-of-mongrels-for-a-default-ec2-node/130729/2 "2008-03-02T21:57:36Z")

</div>

On Mar 2, 2008, at 9:58 AM, revo wrote:

> Hi -
> 
> I was wondering if anyone had any experience with mongrels on EC2. If  
> so, how many mongrels are recommended for the default ($0.10/hour) EC2  
> node?
> 
> Thanks!

Generally you want 3-6 mongrels per cpu core. The small ec2 instance  
has just one core so I woudl recommend starting with say 4 or 5 and  
going up to 8 at the very max. If you saturate your cpu with too many  
mongrels even if you have spare ram you will still get worse  
performance.

Cheers-

- Ezra Z.  
– Founder & Software Architect  
– removed\_email\_address@domain.invalid  
– [EngineYard.com](http://EngineYard.com)
