-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

James,

On 2/1/17 3:59 PM, James H. H. Lampert wrote:
> This is a long-shot, but . . .
> 
> One of our customer installations is running slow, for no apparent 
> reason. For example, a very simple BIRT report running in our
> webapp takes 6 seconds to run in this installation, whereas an
> essentially identical one takes only one second on another
> customer's installation.
> 
> The one that's running slow is running under Tomcat 7.0.67, whereas
> the one that's fast is running under 7.0.62.
> 
> Is there anything that happened between those two releases that
> could slow things down?

Between two separate customers? I'm blame the underlying database,
since that's where BIRT is doing most of its work. Slower hardware?
More records? Thrashing in-memory caches? It could be anything. I'm
not inclined to blame Tomcat.

If you want to benchmark Tomcat, throughput is really the only thing
you care about: the overhead that Tomcat adds to the "real work" you
are trying to accomplish.

If it really takes 6 seconds to get a completed response, run the
report and take a few thread dumps during that time. It will let you
know what the Java threads are doing. I suspect they will be waiting
on data from the JDBC driver.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYkmAbAAoJEBzwKT+lPKRYqVoP/24hS/SDvYqJ2g+IfEw1JiRl
kQMVD0Y1ck7Tj/16/H/RYtpj8+08LPh36LXslVklife2PXaU6PlsHwnHj6l/otHC
Oe8+S+/GUcTVfrXSaPQgCSapFI/7Mzf59daJSrHKGlyTIj1SHWavlEL1A0cGKA9x
I3qKlPsik6Tjz3KFZmZ74Nd6NiL+GWnrw5yVhrwZ1uryGxh0neHa9U+fS1ku9Ln0
sG+L18k66yleKCvokqDR5Brmpu3C2klws3IAjBd25aGMgFnWmJac+GvELQU6ISSs
zF5jfaL5HhVzFBxqo1Fl7CEWhioJO9SiRWx+E1g+VBpsnO/t/rvvl9Q8nNAxmhNn
18JFUdC41ETH0hixM/CGZTTvS2Z7hxqsR2see3oQ1DviRynwsQsEC6VkXvA/F/cv
qS4pfmQW+JGCVLvk/kE8M1Rnp1iIsNcqNTR9ipPbvFnjxfBntioIruzq1+qwRX8+
GzDRQRiTWt2Of6dqwN8oJrdMHm1QXbL+5kSD7hAH8zpiSJRSNccAc6sCwqY3/1mO
JSGjomtyuT/MnECiUrUnPf/bUq+hQpi58tKLMYhmVIqsP8y0IYjluQIceZBYQYMY
Jev2FoIcFtOL0HpD6c+kS60eDUQ5UyzD2v4/3lhaPM68l1gr1j8RafH8Y7/MRgHd
GdiTOvy0bhWT1TS8A+1p
=PHO1
-----END PGP SIGNATURE-----

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

Reply via email to