You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vicente Martínez <vm...@es.wanadoo.com> on 2001/07/02 11:22:28 UTC

Why does Tomcat spend too much time before process a request?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

We have tested Tomcat under stress conditions, to see how it works handling
hundreds of concurrent requests.

Our system is using Apache as static content server and tomcat as dynamic
content server (jsp & servlet)

We have measured ...

A. the time the request takes to go from the client to the Apache server.
B. the time the request is in Apache server before an Apache process gets
it.
C. the time an Apache process takes to redirect the request to Tomcat
server.
D. the time the request is in Tomcat server before a Tomcat process gets
it.
E. then time a Tomcat process takes to send back the request to Apache
... and so on until the request arrives to the client.

What we have seen is that tomcat is spending a big amount of time (say 36%)
in step D.

and now the questions?

Is Tomcat prepared to handle a big number of concurrent requests?
How big can be that number?

Is there any way to configure Tomcat, in order to reduce the time we have
seen in step D?

Thanks,

________________________________________________________

  Vicente Martínez Martínez / vmartinez@es.wanadoo.com
________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBO0AvRexS7D2tCBWMEQI6KACfWr1Gp7IP/A9eixZvKm70xeIXl2MAoMM2
0akxCbWCUyPu0WW1uoYv6wBw
=T9Ne
-----END PGP SIGNATURE-----