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

Zed A. Shaw zedshaw at zedshaw.com
Tue Nov 28 18:19:20 EST 2006


On Tue, 28 Nov 2006 15:23:14 -0600 (CST)
Philip Hallstrom <mongrel at philip.pjkh.com> wrote:

> > On Tue, Nov 28, 2006 at 11:03:06AM -0600, Philip Hallstrom wrote:
> >> Just for reference, we get about 500,000 pages a day and run 4 mongrel
> >> processes... we've got about 20 servers[1], but 4 gives us the best
> >> performance.
> >
> > I'm curious - do you have 4 * 20 Mongrels or just 4? How many
> > requests/sec does Rails report in your logs?
> 
> Just did a quick grep on one of the servers log files and for about 6000 
> requests we are averaging 38 reqs/sec with a standard deviation of 113.

Standard Deviation!  YES!

-- 
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.


More information about the Mongrel-users mailing list