I have compiled and deployed the native connectors for Tomcat and have run my load testing benchmarks. There is no measurable difference.
So my question is, under which circumstances are native connectors demonstratably faster? and can they be tuned to gain more performance from them.
I do not mean "how do I benchmark to show an increase", but rather what circumstances recommend the use of the connectors. As of yet I cannot see a difference for my application, so I wonder what the benefits of these connectors are.
The Apache Tomcat Native Library is an optional component for use with Apache Tomcat that allows Tomcat to use certain native resources for performance, compatibility, etc.
The Apache Tomcat Connectors project is part of the Tomcat project and provides web server plugins to connect web servers with Tomcat and other backends. The supported web servers are: the Apache HTTP Server with a plugin (module) named mod_jk.
Apache Tomcat 9 and 10 are equivalent products. The only difference is support for changes for the package names in the Jakarta Servlet and related technologies from javax. * to jakarta.
So it seems I've found my answer through Google:
http://www.devshed.com/c/a/BrainDump/Tomcat-Benchmark-Procedure/
It seems as though the default connector is faster as I am not using SSL. My own performance tests have confirmed this for my application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With