I wish to control the response time of my jsp/servlet application that runs on tomcat.
I am trying to do that by changing the maxthreads in the server.xml but it is not reliable.
At extremely low thread count like 2 my response times are high but as soon as I increase the thread count to say 4 response improves drastically. I am sending 6 requests simultaneously using my java url apis.
Anybody tried this before and have been successfull in controlling the response times based on the # of max threads?
What exactly are you trying to accomplish? It sounds like you don't want the application to run at full speed. What is wrong with giving Tomcat enough Threads to handle your 6 requests "at one time"? Is there some other component of the system that is a bottleneck? Bill
Joined: May 27, 2004
I am trying to simulate something where I am generating load onto my JSP/Servlet application and based on the # of machines servicing the load the response time would change. but to emulate that with just one tomcat machine (at the present) I am hoping to see how by controlling either the # of threads in server.xml or somehow can I change the response behavior.
Essentially want to see how the app would scale with more machines in the loop. Hope that clarifies..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com