why should i use mongrel_cluster in my rails application? What are its benefits for which i should install and configure it ? is webrick server not enough for rails application? Thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
why should i use mongrel_cluster in my rails application? What are its benefits for which i should install and configure it ? is webrick server not enough for rails application? Thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 18 April 2011 11:20, amrit pal pathak <amritpalpathak1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> why should i use mongrel_cluster in my rails application? > What are its benefits for which i should install and configure itRead up what a mongrel cluster is. If the answer to your question is not then obvious ask it again. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
amritpal p. wrote in post #993486:> why should i use mongrel_cluster in my rails application? > What are its benefits for which i should install and configure it > ? > is webrick server not enough for rails application?AFAIK Webrick is only suitable for development, or very low traffic web applications. Mongrel and mongrel_cluster used to be the popular way to deploy Rails applications, but there are other, easier to manage, solutions available today. I personally use the excellent Phusion Passenger (A.K.A. modrails) for example: http://www.modrails.com/ -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hello Development - only webrick & mongrel Production - Mongrel cluster features - Load balancing - request sharing - Starts with one simple command - restarts & stops - Creates a PID file so you can kill process - runs in daemon mode Now if you are planning to deploy some app for least 30 people- you can use webrick on dev mode will not matter; but MC is for production use. http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ The link will help you understand more on your question Thanks -Raghavendra -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 22 Apr 2011, at 10:52, T.ragahvendra Shet wrote:> Development - only webrick & mongrel > > Production - Mongrel cluster > > features > - Load balancing > - request sharing > - Starts with one simple command > - restarts & stops > - Creates a PID file so you can kill process > - runs in daemon mode > > > Now if you are planning to deploy some app for least 30 people- you > can > use webrick on dev mode will not matter; but MC is for production use. > > http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ > > The link will help you understand more on your questionAn article from five years ago... There''s better options these days than mongrel cluster. Nginx/Apache + Passenger + Ruby EE, a thin cluster, a unicorn cluster. And if you''re developing a Rails 3 app, you shouldn''t even think about mongrel anymore imo. Also, with a cluster running behind a proxy (and the Apache load balancing is far from ideal), there''s a lot more to take care of in case one of the mongrels dies. You''re also wasting huge amounts of memory for every extra mongrel you put in the cluster. Maybe I missed something here (since the original post hasn''t even been quoted), but there''s very little reason these days to run something on Mongrel, even Rails 2 apps. Best regards Peter De Berdt -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I was using mongrel_cluster in conjunction with Vlad The Impaler some time ago. Compared to a cloud hosting platform such as Heroku, this is quite difficult to setup since you''ll have to set up SSH keys, think of a port the mongrel should run on (one that isn''t in use!) and when you have multiple apps, every app should have its own port. If you want multiple mongrels per app this means multiple port ranges. All in all, I just moved to Heroku since it''s free anyway. I was paying (but not much) for the other Rails hosting, but they didn''t have any support for it anyway. Using mongrel_cluster is nice to play around with, but it doesn''t give you much in terms of convenience. -- http://rubyonrailsdeveloper.nl -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.