Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Performance benefits of Apache Tomcat native connectors

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.

like image 464
kobrien Avatar asked Oct 13 '10 19:10

kobrien


People also ask

What is Apache Tomcat Native?

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.

What is Apache Tomcat Connector?

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.

What is the difference between Tomcat 9 and 10?

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.


1 Answers

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.

like image 57
kobrien Avatar answered Oct 12 '22 03:10

kobrien