tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: timing the Tomcat SSL overhead
Date Fri, 18 Mar 2011 16:49:18 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrei,

On 3/17/2011 2:04 PM, andrei d wrote:
> So there are no relevant hooks in the Tomcat connectors and/or no way
> to instrument that code?

If you are using plain-old Java SSL, then Tomcat is not part of the
equation: the Java runtime establishes the connection and then hands-off
to Tomcat.

Your other option is to use Apache Portable Runtime (aka APR). I am not
sure if it has any hooks for instrumenting the SSL overhead. I do know
that SSL performance improves measurably when using APR rather than JSSE
(Java's SSL).

> I am trying to avoid using client test code for this since I'd like to
> do the measurement on a production system under real load.

To me, it sounds like client-based testing would actually be better if
you want to test it under load.

Are you trying to test different SSL configurations to see which is
best? Or so you just want to know how horrible your performance is over
SSL compared to non-secure HTTP?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2DjQ0ACgkQ9CaO5/Lv0PDiyACfZBzA69NaIzjaQjvuAlD8eC3M
uFQAnAp9sgTP7bmEV58h7dqnOHKnXnXc
=efzA
-----END PGP SIGNATURE-----

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


Mime
View raw message