dc tech
2010-Aug-07 02:29 UTC
Performance - jRoR vs JSP - basic response of 30-40 ms on jRoR, 2-4ms on JSP
Has anyone done any recent benchmarking on RoR vs. JSP? Our testing on a very simple URL that simply shows the time indicates that RoR (or jRoR to be exact) seems to take 30+ms to return the results. This is contrast to 2-4ms for JSP. Is 30+ms reasonable with your experience or have we messed something up? We are running on Tomcat btw. 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.
Hassan Schroeder
2010-Aug-07 21:52 UTC
Re: Performance - jRoR vs JSP - basic response of 30-40 ms on jRoR, 2-4ms on JSP
On Fri, Aug 6, 2010 at 7:29 PM, dc tech <dctech1000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Has anyone done any recent benchmarking on RoR vs. JSP? > Our testing on a very simple URL that simply shows the time indicates > that RoR (or jRoR to be exact) seems to take 30+ms to return the > results. This is contrast to 2-4ms for JSP. Is 30+ms reasonable with > your experience or have we messed something up? We are running on > Tomcat btw.That sounds totally broken. I don''t see anything close to that kind of lag on Tomcat, Glassfish, or any other container I''ve tried. Are you using NewRelic or rails-footnotes or anything to monitor your app? That would be a good first step, I''d say. FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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.
dc tech
2010-Aug-08 02:55 UTC
Re: Performance - jRoR vs JSP - basic response of 30-40 ms on jRoR, 2-4ms on JSP
No - have not tried that. These timingsa were with a simple time app. Could you check your timing for a hello world type of a simple app? On 8/7/10, Hassan Schroeder <hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Aug 6, 2010 at 7:29 PM, dc tech <dctech1000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Has anyone done any recent benchmarking on RoR vs. JSP? >> Our testing on a very simple URL that simply shows the time indicates >> that RoR (or jRoR to be exact) seems to take 30+ms to return the >> results. This is contrast to 2-4ms for JSP. Is 30+ms reasonable with >> your experience or have we messed something up? We are running on >> Tomcat btw. > > That sounds totally broken. I don''t see anything close to that kind > of lag on Tomcat, Glassfish, or any other container I''ve tried. > > Are you using NewRelic or rails-footnotes or anything to monitor your > app? That would be a good first step, I''d say. > > FWIW, > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > 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. > >-- Sent from my mobile device -- 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
2010-Aug-08 04:41 UTC
Re: Re: Performance - jRoR vs JSP - basic response of 30-40 ms on jRoR, 2-4ms on JSP
On Sat, Aug 7, 2010 at 7:55 PM, dc tech <dctech1000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> No - have not tried that. These timingsa were with a simple time app. > Could you check your timing for a hello world type of a simple app?Why don''t you post your instrumented test case and I''ll run it? :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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.