[Mongrel] Determining ideal number of Mongrels for an app?

Aleksandar Lazic al-mongrelusers at none.at
Tue Nov 28 12:05:56 EST 2006


On Die 28.11.2006 08:27, Joe Ruby wrote:
>What's a rule of thumb for guesstimating how many Mongrels to use in a
>cluster for an app? I have an app that gets about 5000 unique visitors
>per day. I figured I'd give it plenty of Mongrels -- twenty to be
>specific. After running out of memory and hitting the swap
>periodically, I scaled it back to five and it still seems to serve up
>visitors fine. So, is there some super-secret math fomula I can use to
>determine the ideal number of Mongrels I should start in a cluster for
>an app?

Super-Secret, I think maybe but a possible start for a *normal* formula
could be:





More information about the Mongrel-users mailing list