What is your current response time and what did you have before? Are you using 64-bit java or 32-bit? What is your heap settings? Are you doing web services for these requests oris this straight html?
Regards, -Tony --- On Thu, 9/1/11, David kerber <dcker...@verizon.net> wrote: > From: David kerber <dcker...@verizon.net> > Subject: Re: Performance for many small requests > To: "Tomcat Users List" <users@tomcat.apache.org> > Date: Thursday, September 1, 2011, 8:40 AM > 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. > > Would one of the thread pools help this situation? > > > <Server port="8005" shutdown="SHUTDOWN"> > <Listener > className="org.apache.catalina.core.AprLifecycleListener" > SSLEngine="on" /> > > <Listener > className="org.apache.catalina.core.JasperListener" /> > > <Listener > className="org.apache.catalina.core.JreMemoryLeakPreventionListener" > /> > > <Listener > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" > /> > > <Listener > className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" > /> > > <GlobalNamingResources> > <Resource name="UserDatabase" > auth="Container" > > type="org.apache.catalina.UserDatabase" > > description="User database that can be updated and saved" > > factory="org.apache.catalina.users.MemoryUserDatabaseFactory" > > pathname="conf/tomcat-users.xml" /> > </GlobalNamingResources> > > <Service name="Catalina"> > > <!-- > <Executor name="tomcatThreadPool" > namePrefix="catalina-exec-" > maxThreads="300" > minSpareThreads="4"/> > --> > <Connector port="1024" > protocol="HTTP/1.1" > connectionTimeout="20000" > redirectPort="8443" > maxThreads="600" > acceptCount="100" > minSpareThreads="10" > socketBuffer="16384" > /> > > <!-- > <Connector executor="tomcatThreadPool" > > port="8080" protocol="HTTP/1.1" > > connectionTimeout="10000" > > redirectPort="8443" /> > --> > > <Connector port="8009" protocol="AJP/1.3" > redirectPort="8443" /> > > <Engine name="Catalina" > defaultHost="localhost"> > > > <Realm > className="org.apache.catalina.realm.LockOutRealm"> > <Realm > className="org.apache.catalina.realm.UserDatabaseRealm" > > resourceName="UserDatabase"/> > </Realm> > > <Host name="localhost" > appBase="webapps" > unpackWARs="true" > autoDeploy="true"> > > </Host> > </Engine> > </Service> > </Server> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org