Hello! I have a Rails application and a CGI script which uses this application models (api script). The application makes http requests to the api script and shows result. It works really slow... I have found some good topics about speeding up the Rails, but some are old, and others are about changes in the code. Currently I''m looking for good articles about _software_ optimization, so I can configure my server correctly for better Rails work. Could you advice some? My configuration: FreeBSD 6.2 Apache 2.2 + the latest Phusion Passenger + the latest Ruby Enterprise Ruby 1.8.6 Rails 2.1.0 the latest MySQL sessions in cookies Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 6 Sep 2008, at 12:45, Konstantin <rasfast-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello! > > I have a Rails application and a CGI script which uses this > application > models (api script). The application makes http requests to the api > script and shows result.That sounds a bit odd. The application is making http requests to another script on the same machine? Is that other script reloading rails each time it runs? Fred> > It works really slow... I have found some good topics about speeding > up > the Rails, but some are old, and others are about changes in the code. > > Currently I''m looking for good articles about _software_ optimization, > so I can configure my server correctly for better Rails work. > Could you advice some? > My configuration: > FreeBSD 6.2 > Apache 2.2 + the latest Phusion Passenger + the latest Ruby Enterprise > Ruby 1.8.6 > Rails 2.1.0 > the latest MySQL > sessions in cookies > > Thanks in advance! > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> That sounds a bit odd. The application is making http requests to > another script on the same machine? Is that other script reloading > rails each time it runs?Yes, currently it''s odd :) Both cgi script and Rails app are on the same machine, and of course I can include the script without making http requests to it. But in the nearest future other applications from other sites will make these requests, so I need to be sure that it works fast exactly in this way. And unfortunately I see that it works very slow now... A simple page is loading about 60-90 seconds. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Actually it''s just a question to all experinced Rails developers: what kind of configuration do you have on your production servers? Pros/ cons of some software? It will be great if you can share some of your knowledge. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Let me direct your attention here: http://groups.google.com/group/rubyonrails-deployment ;) -------------------- seth - subimage llc ----- http://sublog.subimage.com ----- Cashboard - Estimates, invoices, and time tracking software - for free! http://www.getcashboard.com ----- Substruct - Open source RoR e-commerce software. http://code.google.com/p/substruct/ On Sat, Sep 6, 2008 at 1:17 PM, Konstantin <rasfast-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Actually it''s just a question to all experinced Rails developers: what > kind of configuration do you have on your production servers? Pros/ > cons of some software? > It will be great if you can share some of your knowledge. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---