tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Performance for many small requests
Date Thu, 01 Sep 2011 15:16:24 GMT
On 01/09/2011 15:40, David kerber wrote:
> On 8/31/2011 12:25 PM, Tony Anecito wrote:
>> Hi David,
>>
>> You need to not only look at the container but it's configuration and
>> the jre that is being used. There have been a lot of improvements in
>> all areas for performance. Also, understand the servlet model seems
>> developers have completely forgotten about it and how important it is.
>> Also, I always revaluate my design/implementation every 6 months or so
>> and make changes based on lessons learned. Also, do not be afraid to
>> try something new :]
> 
> I'm running JRE 6_27, in server mode, on windows server 2008 with 4
> cores, 8GB RAM.  TC 7.0.20, downloaded yesterday.
> 
> I'm having some somewhat minor performance issues, not performing quite
> as well as my Win2k machine with TC 5.5.  Could somebody look at my
> server.xml and recommend some tweaks for handling tons of very small
> requests, <150 bytes per request.  The requests are sent with a single
> http post, from ~600 remote sites collecting data every few seconds to
> minutes.

I think the short answer is use a profiler. If your code is the problem,
fix it. If Tomcat is the problem, tell us where and we'll fix it.

> Would one of the thread pools help this situation?

Unlikely.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message