Ed
2009-Mar-10 19:15 UTC
knowing when to go to multiple mongrel instances or dedicated server
I have a rails app with a growing user base. Right now it is on a single mongrel instance on a shared server. Is there a quantifiable method I can use to measure when I need to add mongrel instances, or move to a dedicated server? Are there rules of thumb for how many users or page hits an instance can support? Or is it solely subjective, based on when the app starts to "feel" slow? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Philip Hallstrom
2009-Mar-10 19:20 UTC
Re: knowing when to go to multiple mongrel instances or dedicated server
> I have a rails app with a growing user base. Right now it is on a > single mongrel instance on a shared server. Is there a quantifiable > method I can use to measure when I need to add mongrel instances, or > move to a dedicated server? Are there rules of thumb for how many > users or page hits an instance can support? Or is it solely > subjective, based on when the app starts to "feel" slow?A couple of years old, but it''s from the horses mouth... http://rubyforge.org/pipermail/mongrel-users/2006-May/000200.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ed
2009-Mar-10 21:22 UTC
Re: knowing when to go to multiple mongrel instances or dedicated server
Thanks, good info. That is more for a dedicated server, though. If I''m on a shared server, how can I measure/compare to determine whether I need the expense of a dedicated server? On Mar 10, 3:20 pm, Philip Hallstrom <phi...-LSG90OXdqQE@public.gmane.org> wrote:> > I have a rails app with a growing user base. Right now it is on a > > single mongrel instance on a shared server. Is there a quantifiable > > method I can use to measure when I need to add mongrel instances, or > > move to a dedicated server? Are there rules of thumb for how many > > users or page hits an instance can support? Or is it solely > > subjective, based on when the app starts to "feel" slow? > > A couple of years old, but it''s from the horses mouth... > > http://rubyforge.org/pipermail/mongrel-users/2006-May/000200.html--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Z Meinlschmidt
2009-Mar-11 00:42 UTC
Re: knowing when to go to multiple mongrel instances or dedicated server
Ed wrote:> I have a rails app with a growing user base. Right now it is on a > single mongrel instance on a shared server. Is there a quantifiable > method I can use to measure when I need to add mongrel instances, or > move to a dedicated server? Are there rules of thumb for how many > users or page hits an instance can support? Or is it solely > subjective, based on when the app starts to "feel" slow?Ed, why not to move to phusion passenger? It''s fast and intended for heavier load than mongrel (even in cluster) tom -- ==============================================================================Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz ============================================================================== --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ed
2009-Mar-11 21:23 UTC
Re: knowing when to go to multiple mongrel instances or dedicated server
I''ll take a look at that, thanks. My hosting provider says that passenger is slower than mongrel in a shared environment, because of the delay when processes have to be restarted. But ultimately I will have the same question: how can I measure when traffic is too much for my shared host? On Mar 10, 8:42 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote:> Ed wrote: > > I have a rails app with a growing user base. Right now it is on a > > single mongrel instance on a shared server. Is there a quantifiable > > method I can use to measure when I need to add mongrel instances, or > > move to a dedicated server? Are there rules of thumb for how many > > users or page hits an instance can support? Or is it solely > > subjective, based on when the app starts to "feel" slow? > > Ed, why not to move to phusion passenger? It''s fast and intended for > heavier load than mongrel (even in cluster) > > tom > > -- > =========================================================================== ===> Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz > =========================================================================== ===--~--~---------~--~----~------------~-------~--~----~You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Robby Russell
2009-Mar-11 21:27 UTC
Re: knowing when to go to multiple mongrel instances or dedicated server
Ed, If you''re hosting provider is suggesting that passenger is slower, it''s in *their* environment. You might consider another provider then. You might take a look at the survey results we just posted at http://rails-hosting.com. Cheers, Robby On Wed, Mar 11, 2009 at 2:23 PM, Ed <haywood.ed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''ll take a look at that, thanks. My hosting provider says that > passenger is slower than mongrel in a shared environment, because of > the delay when processes have to be restarted. > > But ultimately I will have the same question: how can I measure when > traffic is too much for my shared host? > > On Mar 10, 8:42 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote: >> Ed wrote: >> > I have a rails app with a growing user base. Right now it is on a >> > single mongrel instance on a shared server. Is there a quantifiable >> > method I can use to measure when I need to add mongrel instances, or >> > move to a dedicated server? Are there rules of thumb for how many >> > users or page hits an instance can support? Or is it solely >> > subjective, based on when the app starts to "feel" slow? >> >> Ed, why not to move to phusion passenger? It''s fast and intended for >> heavier load than mongrel (even in cluster) >> >> tom >> >> -- >> =========================================================================== ===>> Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache >> >> www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz >> =========================================================================== ===> > >-- Robby Russell Chief Evangelist, Partner PLANET ARGON, LLC design // development // hosting w/Ruby on Rails http://planetargon.com/ http://robbyonrails.com/ http://twitter.com/planetargon aim: planetargon +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642 4068 [fax] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Philip Hallstrom
2009-Mar-11 21:27 UTC
Re: knowing when to go to multiple mongrel instances or dedicated server
On Mar 11, 2009, at 2:23 PM, Ed wrote:> > I''ll take a look at that, thanks. My hosting provider says that > passenger is slower than mongrel in a shared environment, because of > the delay when processes have to be restarted.This is only relevant if you don''t get enough traffic to keep the passenger/rails instance alive. What I''ve read says that once up and running passenger is faster than mongrel, but best to do your own research. Start here: http://www.modrails.com/documentation.html (part way down)> But ultimately I will have the same question: how can I measure when > traffic is too much for my shared host?That''s a question for them. Find out what their limits are and then figure out when you''ll hit them.> > > On Mar 10, 8:42 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote: >> Ed wrote: >>> I have a rails app with a growing user base. Right now it is on a >>> single mongrel instance on a shared server. Is there a quantifiable >>> method I can use to measure when I need to add mongrel instances, or >>> move to a dedicated server? Are there rules of thumb for how many >>> users or page hits an instance can support? Or is it solely >>> subjective, based on when the app starts to "feel" slow? >> >> Ed, why not to move to phusion passenger? It''s fast and intended for >> heavier load than mongrel (even in cluster) >> >> tom >> >> -- >> = >> = >> = >> = >> = >> = >> = >> = >> =================================================================== >> ===>> Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache >> >> www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz >> = >> = >> = >> = >> = >> = >> = >> = >> =================================================================== >> ===> >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Colin Law
2009-Mar-11 21:28 UTC
Re: knowing when to go to multiple mongrel instances or dedicated server
2009/3/11 Ed <haywood.ed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > I''ll take a look at that, thanks. My hosting provider says that > passenger is slower than mongrel in a shared environment, because of > the delay when processes have to be restarted. > > But ultimately I will have the same question: how can I measure when > traffic is too much for my shared host? >It seems to be a rather naive answer but can you not tell that the traffic is too much by the fact that it slows down unacceptably? Or am I missunderstanding the question, are you trying to predict in advance at what traffic level it will slow down too much?> > On Mar 10, 8:42 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote: > > Ed wrote: > > > I have a rails app with a growing user base. Right now it is on a > > > single mongrel instance on a shared server. Is there a quantifiable > > > method I can use to measure when I need to add mongrel instances, or > > > move to a dedicated server? Are there rules of thumb for how many > > > users or page hits an instance can support? Or is it solely > > > subjective, based on when the app starts to "feel" slow? > > > > Ed, why not to move to phusion passenger? It''s fast and intended for > > heavier load than mongrel (even in cluster) > > > > tom > > > > -- > > > ==========================================================================> ===> > Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > > > www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz > > > ==========================================================================> ===> > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---