Greetings all. I have seen a couple of diagrams on the net that look like a computer set up as an nginx server and more than one mongrel server running at once. What is the advantage of having more than one mongrel server running? Is there a good how-to that explains it very well. thanks shawn -- 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 Aug 9, 5:33 am, nephish <neph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Greetings all. > I have seen a couple of diagrams on the net that look like a computer > set up as an nginx server and more than one mongrel server running at > once. > What is the advantage of having more than one mongrel server running? > Is there a good how-to that explains it very well. >So that you can process more requests in parallel. Fred> thanks > > shawn-- 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.
Fred, Great, thanks for the reply. Do you know what book or site may have a good tutorial about how to pull this off? Most of the docs and tutorials i find just show setting up and nginx server with passenger. Thanks again On Aug 9, 4:02 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Aug 9, 5:33 am, nephish <neph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Greetings all. > > I have seen a couple of diagrams on the net that look like a computer > > set up as an nginx server and more than one mongrel server running at > > once. > > What is the advantage of having more than one mongrel server running? > > Is there a good how-to that explains it very well. > > So that you can process more requests in parallel. > > Fred > > > > > thanks > > > shawn-- 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.
Shawn Bright wrote:> Fred, > > Great, thanks for the reply. Do you know what book or site may have a > good tutorial about how to pull this off? Most of the docs and > tutorials i find just show setting up and nginx server with passenger.Passenger (with either Nginx or Apache) is usually the simplest and best way to deploy Rails applications. What''s your use case like that you need something different?> Thanks againBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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.
Right now i am using Nginx with Passenger to deploy. Does this only allow for one instance of Rails to run in each virtual host? I read in the Agile book that Rails is single thread and can only process one request at a time. I guess i need a more parallel approach. Also, and i did not think of this before, but is passenger actually running the rails app like webrick or mongrel ? Thanks for all of your help. shawn On Aug 9, 9:41 am, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Shawn Bright wrote: > > Fred, > > > Great, thanks for the reply. Do you know what book or site may have a > > good tutorial about how to pull this off? Most of the docs and > > tutorials i find just show setting up and nginx server with passenger. > > Passenger (with either Nginx or Apache) is usually the simplest and best > way to deploy Rails applications. What''s your use case like that you > need something different? > > > Thanks again > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Please quote when replying.] Shawn Bright wrote:> Right now i am using Nginx with Passenger to deploy. Does this only > allow for one instance of Rails to run in each virtual host?More than one instance.> I read in the Agile book that Rails is single thread and can only > process one request at a time. I guess i need a more parallel > approach.Passenger provides that parallelism automatically. Read about it before assuming it won''t work.> Also, and i did not think of this before, but is passenger actually > running the rails app like webrick or mongrel ?Essentially.> > Thanks for all of your help. > > shawnBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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.
OK, great, you have been very helpful. Many thanks. shawn On Aug 9, 10:18 am, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> [Please quote when replying.] > > Shawn Bright wrote: > > Right now i am using Nginx with Passenger to deploy. Does this only > > allow for one instance of Rails to run in each virtual host? > > More than one instance. > > > I read in the Agile book that Rails is single thread and can only > > process one request at a time. I guess i need a more parallel > > approach. > > Passenger provides that parallelism automatically. Read about it before > assuming it won''t work. > > > Also, and i did not think of this before, but is passenger actually > > running the rails app like webrick or mongrel ? > > Essentially. > > > > > Thanks for all of your help. > > > shawn > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.