Jeff Barczewski
2006-Sep-07 16:14 UTC
Does mongrel_cluster support the concept of min-procs and max-procs like lighttpd fcgi where under load additional procs will be created
Does mongrel_cluster support the concept of min-procs and max-procs like lighttpd fcgi where under load additional procs will be created? I always thought that was a nice feature, to be able to have a minimal number of procs running for a site and then when the load increased fire up additional ones (up to a maximum) and then over time kill those off when load backs off. This allows one to host many sites on a server each only taking up a minimal amount of resources until they are needed. It allows the number of procs serving to be directly tied to how much load is actually being used rather than an arbitrary guess. So thus my question does mongrel_cluster support anything like this, if so how is it configured (I didn''t see anything in online docs)? If not, does anyone know if Zed is planning to add anything like this? Thanks, Jeff --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Tim Perrett
2006-Sep-09 18:44 UTC
Re: Does mongrel_cluster support the concept of min-procs an
as far as im aware it doesnt support any of this, when you launch the cluster your teling it that you want X instances. By doing this i suppose it presumes you have done all the relevant speed and performance testing (you have done performance test havent you?!) which should enable you to know how many mongrels you can yeild the best performance with. Its not easy, and it isnt a quick solution, but its worth it. If you know the optimal setup you just set it to that, safe in the knowledge that your application can take XYZ req/s over X servers in Y period. The bottom line.... you gotta work out your optiomal config and run with it for a while, if its stretched you wil need to re-evaluate the load. Cheers Tim -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---