-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All,
I often hear folks on the list mentioning that since the APR library is the same as that which runs under Apache httpd, the performance of the two ought to be the same for static content. I'm not so sure, so I'm asking about it. Since Tomcat's request processing is all in Java (right?), the request must first be processed by Java, including creating all those objects that are included in the request. I realize that some of those objects are created on demand (for instance, Tomcat doesn't parse all the GET and POST parameters from the request until the handling servlet actually requests one of them), but all that stuff still happens. Before the request is handed-off to APR. Is the same true of Apache httpd; that is, since Apache must do a bunch of pre-processing of the request before the bytes are actually streamed, does the performance of the two actually end up being the same? I can't help but suspect that Apache httpd will outperform Tomcat even when it's running APR for static content, merely due to the overhead of the JVM, heap management, etc. (which I realize are fairly minimal). Can anyone give a non-flame comment or point to an actual performance comparison with decent data? (I realize that the consensus on the list is that APR is /much/ faster for SSL on Tomcat which I can easily accept.) Thanks, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmCEs8ACgkQ9CaO5/Lv0PCrLwCgtuLFAygs4NCpH/siOe5ZS3L8 HFUAn3eTSpBGLv40IEUiJOHKmaCSx5n3 =GoMU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org