Hi,
Don't find the results at the provided URL.
-sunitha 

-----Original Message-----
From: George Sexton [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 30, 2006 2:50 PM
To: 'Tomcat Users List'
Subject: RE: Tuning Tomcat , i need some advice

80ms was with the server saturated and running 100% CPU utilization. Min
times were in the 10ms range, with the more db intensive pages having
min times in the 60ms range.

Here's my complete testing results.

http://www.mhsoftware.com/caldemo/manual/en/pageFinder.html?page=622.htm
l

I'm sure a large part of my overhead was that the testing took place
with the DB, and tomcat app on the same consumer grade machine.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

> -----Original Message-----
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 30, 2006 3:18 PM
> To: Tomcat Users List
> Subject: Re: Tuning Tomcat , i need some advice
> 
> On 1/30/06, George Sexton <[EMAIL PROTECTED]> wrote:
> > Database interaction is by far the major issue. In my
> application, a page
> > with no db interaction runs in something like 80ms, while a
> page with DB
> > interaction takes something like 350-400ms. There's no
> silver bullet to
> > tuning tomcat applications, and most of the advice you'll
> get here won't
> > make any difference (use this connector, instead of that). 
> So, my advice is:
> 
> Hmm, 80 ms per page is extremely slow. We have a high traffic 
> application here with approx. 100 request / per second / per 
> webserver. Our middle execution time is by 10 ms (both db and not db).
> Requests without calls to backend are served in below 1 millisecond 
> (mostly ajax).
> 
> I would say that the most important point is the size of the jsp.
> Large jsps need time, and CPU.
> 
> Other points are:
> Avg. Request duration.( see above). With 30 requests per second you 
> can't afford spending more than 33 ms per request.
> 
> Connection Speed: If you have keep-alive on, the thread will be 
> blocked until the data is delivered. Http 1.1 (keep-alive) connections

> consume 1.5 threads per connection. My advice: use http 1.0. Zipping 
> can also reduce thread consumption (but increase cpu consumption).
> 
> WIth all above said, if you can serve fast enough, use no http1.1 and 
> zip, you can use tomcat default settings (max 150 threads).
> 
> Alas, do you know your read/update ratio for the db? If you have 
> 80-90% reads on the DB, you can win a lot of performance through 
> caches.
> 
> Regards
> Leon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to