Jared Brown
2006-Sep-03 17:40 UTC
[Mongrel] How many mongrel servers should I run in my cluster?
The company I work for is launching a new web site tomorrow. News of our launch will be published in major publications throughout the week so I want to make sure we are prepared for the load. Production Environment: HP Proliant server w/ 8GB RAM and dual AMD64 Opterons Memcache is used as the session and fragment store (512MB for it) MySQL is running on a seperate server in the same rack We use the mysql gem for Ruby for greater speed and reliability This server is dedicated to running just this rails app, so how many mongrel servers should I put in the cluster? And how many clusters should I setup? The server needs to survive tens of thousands of page views per hour. -- Jared Brown jaredbrown at gmail.com (765) 409-0875 7001 Central Ave Indianapolis, IN 46220 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060903/6ab05bff/attachment.html
Jason A. Hoffman
2006-Sep-03 17:43 UTC
[Mongrel] How many mongrel servers should I run in my cluster?
On Sep 3, 2006, at 10:40 AM, Jared Brown wrote:> The company I work for is launching a new web site tomorrow. > News of our launch will be published in major publications > throughout the week so I want to make sure we are prepared for the > load. > > Production Environment: > HP Proliant server w/ 8GB RAM and dual AMD64 Opterons > Memcache is used as the session and fragment store (512MB for it) > MySQL is running on a seperate server in the same rack > We use the mysql gem for Ruby for greater speed and reliability > This server is dedicated to running just this rails app, so how > many mongrel servers should I put in the cluster? > And how many clusters should I setup? > > The server needs to survive tens of thousands of page views per hour. >What are the mongrels behind? - Jason
Zed Shaw
2006-Sep-03 17:53 UTC
[Mongrel] How many mongrel servers should I run in my cluster?
On Sun, 2006-09-03 at 13:40 -0400, Jared Brown wrote:> The company I work for is launching a new web site tomorrow. > News of our launch will be published in major publications throughout > the week so I want to make sure we are prepared for the load. >Freshly minted docs on that very subject: http://mongrel.rubyforge.org/docs/how_many_mongrels.html And you get a FAQ question too. Let me know how that works for you. BTW, waiting until the day before your deployment to set things up is a really bad idea. You usually want to be doing this quite frequently and practicing doing it from scratch for at least a week before your real deployment. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
Jared Brown
2006-Sep-03 19:14 UTC
[Mongrel] How many mongrel servers should I run in my cluster?
Haha, yea tell me about it. Unfortunately this is how things have worked out. BTW: The cluster is load balanced using the mod proxy balancer in Apache 2.2.2 On 9/3/06, Zed Shaw <zedshaw at zedshaw.com> wrote:> > On Sun, 2006-09-03 at 13:40 -0400, Jared Brown wrote: > > The company I work for is launching a new web site tomorrow. > > News of our launch will be published in major publications throughout > > the week so I want to make sure we are prepared for the load. > > > > Freshly minted docs on that very subject: > > http://mongrel.rubyforge.org/docs/how_many_mongrels.html > > And you get a FAQ question too. > > Let me know how that works for you. > > BTW, waiting until the day before your deployment to set things up is a > really bad idea. You usually want to be doing this quite frequently and > practicing doing it from scratch for at least a week before your real > deployment. > > -- > Zed A. Shaw > http://www.zedshaw.com/ > http://mongrel.rubyforge.org/ > http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help. > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-- Jared Brown jaredbrown at gmail.com (765) 409-0875 7001 Central Ave Indianapolis, IN 46220 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060903/0761a28b/attachment.html
Jason A. Hoffman
2006-Sep-03 19:22 UTC
[Mongrel] How many mongrel servers should I run in my cluster?
So you''ll be limited by what Apache will put through. Just remember too that if you''re not CPU or memory bound yet, or doing as much database as possible, you can always put in more apache''s and do poor man''s load balancing across those with DNS. - J On Sep 3, 2006, at 12:14 PM, Jared Brown wrote:> Haha, yea tell me about it. > Unfortunately this is how things have worked out. > > BTW: The cluster is load balanced using the mod proxy balancer in > Apache 2.2.2 > > > On 9/3/06, Zed Shaw <zedshaw at zedshaw.com> wrote: > On Sun, 2006-09-03 at 13:40 -0400, Jared Brown wrote: > > The company I work for is launching a new web site tomorrow. > > News of our launch will be published in major publications > throughout > > the week so I want to make sure we are prepared for the load. > > > > Freshly minted docs on that very subject: > > http://mongrel.rubyforge.org/docs/how_many_mongrels.html > > And you get a FAQ question too. > > Let me know how that works for you. > > BTW, waiting until the day before your deployment to set things up > is a > really bad idea. You usually want to be doing this quite > frequently and > practicing doing it from scratch for at least a week before your real > deployment. > > -- > Zed A. Shaw > http://www.zedshaw.com/ > http://mongrel.rubyforge.org/ > http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help. > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > > > > -- > Jared Brown > jaredbrown at gmail.com > (765) 409-0875 > 7001 Central Ave > Indianapolis, IN 46220 > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060903/f540ffdc/attachment.html