Is there a performance improvement when using Tomcat native ?

Solution Verified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
    • 6.x
    • JBoss Native Connector
  • Red Hat JBoss Web Server (JWS)
  • Apache Tomcat Native (APR)

Issue

  • Currently we have an apache farm to serve static images and connected to jboss farm which hosts the application. We use both AJP and HTTPS (port 8443) on the jboss-web connector. Would compiling and using tomcat native AJP connector and HTTPS connector enhance the performance of the jboss app server?
  • Is there documentation which describes the advantages the native components for JBoss EAP ?

Resolution

  • The performance improvement with the native libraries is more evident with high volume sites with a lot of static as well as ssl traffic.

  • With dynamic content, performance improvements might not be so apparent

  • In a nutshell, native is faster for static (sometimes) and openssl (always) and sending large files

  • Native or java are extremely fast and all roughly within the same margin for serving default requests, but there are some considerations for certain areas mentioned above.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments