On 20/10/2022 10:33, Terry ST SY/OGCIO wrote:
Hi ,
Check on the major changes on Tomcat 7 to Tomcat 9. (One of the major change we
initially spotted is the BIO connector used in Tomcat 7 for connector setup was
removed in Tomcat 9:
https://tomcat.apache.org/migration-9.html#BIO_connector_removed)
May I know the major difference on BIO connector and NIO connector ?
https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#Connector_Comparison
Note also that the APR/native Connector has been deprecated and removed
in Tomcat 10.1.x onwards.
if NIO have better performance, where can I get the bench mark comparison
report ?
The raw performance difference for a single connection is marginal. You
could probably construct a test that demonstrates either is a few
percentage points "better" than the other.
The key difference is scalability. Look at the descriptions for
maxConnections, maxThreads and disableKeepAlivePercentage.
With default settings, NIO can support orders of magnitude more
connections using HTTP keep-alive. That should lead to performance
benefits in terms of reduced connection set-up time - i.e. lower latency.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org