Re: Bad performance of HTTPServletResponse at Tomcat
- From: "Sasha" <moonupiter@xxxxxxxxx>
- Date: 4 Apr 2005 23:37:38 -0700
Hi ,
Thanks a lot for your answers.
My servlet performs database queries and returns the answer to client.
I'm sure that it's not a DB problem since I see in the profiler that
execution time of DB queries doesn't change, and the time of writting
to OutputStream consistently grows.
In the beginning of the test with 1 user the division is 10/90 for DB
queries, and with 20 users it turns out to 80/20 to the writting to
OutputStream.
And as I said , it waits up to 40 seconds in the writting.
To my mind I need to tune Tomcat. It seems to me that the problem in
the account of descriptors that Tomcat can open , and the problem
occurs when it gets to the limit.
So if you know how to tune it , or you know the possible reason of the
problem please help me.
P.S. I would add a picture from the profiler that shows this problem,
but this forum doesn't allow to attache files.
Thanks in advance, Sasha
.
- Follow-Ups:
- Re: Bad performance of HTTPServletResponse at Tomcat
- From: Andy Flowers
- Re: Bad performance of HTTPServletResponse at Tomcat
- References:
- Bad performance of HTTPServletResponse at Tomcat
- From: Sasha
- Re: Bad performance of HTTPServletResponse at Tomcat
- From: William Brogden
- Bad performance of HTTPServletResponse at Tomcat
- Prev by Date: Re: An interesting memory release problem?
- Next by Date: Struts web app - how to maintain list of connected users?
- Previous by thread: Re: Bad performance of HTTPServletResponse at Tomcat
- Next by thread: Re: Bad performance of HTTPServletResponse at Tomcat
- Index(es):
Relevant Pages
|