Jess Holle wrote:
Overall this seems well and good as long as this is not the default in 5.5 (i.e. by default Tomcat should be pure Java and run anywhere with a good JVM without native code).

To play devil's advocate for a moment, however, would use of Java NIO potentially make more sense for Tomcat, i.e. to take a step forward in terms of performance, etc, without requiring native code? [I'm not saying NIO covers all the bases APR would or is as fast. Rather wondering whether performance efforts should not remain in the pure Java space until that is truly exhausted.]

Yes, and the grass is always greener on the other side of the fence.

For doing the same thing, it seems that APR is about as fast as NIO, and the API is really simple to use, with a trivial programming model. NIO has its uses, and is definitely a lot more "engineered".

What I hope is that the introduction of APR for the networking stack makes Tomcat sort of a Java Apache HTTP Server, which would make it more acceptable in production.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to