loganathan sellappa
2012-Jan-17 07:40 UTC
Is their any plugin/gem available to improve performance
Hi All, I am having an ror application with ruby1.8.7 and rails2.3.5, the performance of my application is not good enough. Is their any plugin or gem available to improve the performance. Also I have already optimized some of my code and db queries by optimizing the mysql query and by adding indexes, but those are not gave drastic change in the performance. regards, Loganathan -- 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.
Jordan Miller
2012-Jan-17 07:55 UTC
Re: Is their any plugin/gem available to improve performance
without knowing absolutely anything about your code, since you haven''t told us much, it sounds like you should either refactor your code to make it efficient, or... easier solution is to just get a faster server. rails 3 does lazy loading so by definition that will cut down dramatically on your database calls. but then you''d have to upgrade your app, which it sounds like you don''t want to do. there are gems to help you analyze where your slowdowns are happening. you can set the time to generate as a filter to find the slow pokes. it might be a very specific place in your app where you have inefficient calls... hopefully. cheers, jordan On Jan 17, 2012, at 2:41 AM, loganathan sellappa <loganathan.ms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: Hi All, I am having an ror application with ruby1.8.7 and rails2.3.5, the performance of my application is not good enough. Is their any plugin or gem available to improve the performance. Also I have already optimized some of my code and db queries by optimizing the mysql query and by adding indexes, but those are not gave drastic change in the performance. regards, Loganathan -- 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. -- 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.
Colin Law
2012-Jan-17 10:15 UTC
Re: Is their any plugin/gem available to improve performance
On 17 January 2012 07:40, loganathan sellappa <loganathan.ms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi All, > > I am having an ror application with ruby1.8.7 and rails2.3.5, the > performance of my application is not good enough. Is their any plugin or gem > available to improve the performance. Also I have already optimized some of > my code and db queries by optimizing the mysql query and by adding indexes, > but those are not gave drastic change in the performance.Are you running the app in production mode? Performance will be poorer in development mode. Assuming that you are already in production mode the next thing to do is identify where the bottlenecks in your app are, that should help in determining what to do about it. Have a look at the Rails Guide on Performance Testing which may help. 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder
2012-Jan-17 16:32 UTC
Re: Is their any plugin/gem available to improve performance
On Mon, Jan 16, 2012 at 11:40 PM, loganathan sellappa <loganathan.ms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am having an ror application with ruby1.8.7 and rails2.3.5, the > performance of my application is not good enough. Is their any plugin or gem > available to improve the performance.There are gems to *analyze* performance -- which is what you need to do first; probably the most widely used: NewRelic (http://newrelic.com) Good luck! -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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.
Deepika Vummiti
2012-Jan-18 10:41 UTC
Re: Is their any plugin/gem available to improve performance
Loganathan S. wrote in post #1041252:> Hi All, > > I am having an ror application with ruby1.8.7 and rails2.3.5, the > performance of my application is not good enough. Is their any plugin or > gem available to improve the performance. Also I have already optimized > some of my code and db queries by optimizing the mysql query and by > adding > indexes, but those are not gave drastic change in the performance. > > regards, > LoganathanHi Logs, You check your database mode whether in development or production, Better you install Mongrel server, when compared to webrick it is some what fast. Thanks, Deepika. -- 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 Tue, Jan 17, 2012 at 1:10 PM, loganathan sellappa < loganathan.ms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi All, > > I am having an ror application with ruby1.8.7 and rails2.3.5, the > performance of my application is not good enough. Is their any plugin or > gem available to improve the performance. Also I have already optimized > some of my code and db queries by optimizing the mysql query and by adding > indexes, but those are not gave drastic change in the performance. > > regards, > Loganathan > > HiUse memcache it will improve the performance.. -- 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.