Hi,
After optimizing JNI invocations with NIO, I got the benchmark results I wanted from APR. The performance of the HTTP APR connector is now the same as the regular HTTP connector (at least on Windows). Since stability seems good as well (barring programming errors on my part; this is obviously not a big surprise as a certain other project did all the testing already), I now feel comfortable taking sides and advocating APR as the "next gen" IO API for use in Tomcat.
As I said, stability seems quite good overall, so I think the HTTP support should become an official part of the next release.
Mladen is currently adding SSL support, while I am working on APRizing AJP (which would provide benefits for only certain specific use cases - sendfile isn't going to be available, for example).
Note: The main other contending API is NIO, but APR now seems to me a far better choice, as it features a simpler objectless API, as well as flexible blocking mode handling (NIO forces to be all the time in non blocking mode, which has important performance costs for a server like Tomcat). It seems to have all the benefits without any drawbacks besides installation.
Rémy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]