Questions about sometime slowness of tomcat

2007-11-20 Thread Jun Zhang
Hi, I really do not know which mail alias is the correct one to post this topic. So I send it to all. I am developing a web application using Tomcat, which uses a servlet to handle the request, which includes geting data from database and writing the data back to the client to display. When I

Re: Questions about sometime slowness of tomcat

2007-11-20 Thread Tony Anecito
Hi Jun, This could be due to several factors. I see this alot in SOAP calls where the first request is signficanly longer than susequent requests. It could be the jvm is optimizing the code and after multiple passes through the code it runs faster. It could also be there are objects that get

Re: Questions about sometime slowness of tomcat

2007-11-20 Thread david delbecq
First request is slower to respond to client becaus tomcat do have to initialize your servlet before first request and, probably, to compile your jsp Jun Zhang a écrit : Hi, I really do not know which mail alias is the correct one to post this topic. So I send it to all. I am developing a