Nice idea to use Apache HTTPD for tomcat proxy
NO, it can actually speed up maintenance if it is configured and used correctly. Just keep in mind in which environment you use it. It may not be necessary to run this in a development environment or internal private network, unless you are using a mixed environment of different services on the same server.
In fact, you can take a ton of boot from tomcat by proxying the request through Apache. You can configure Apache to perform all compression, encryption and CA Cert operations, and at the same time proxy through AJP to tomcat. You can also use it to run multiple services from the same server using virtual hosts and subdomains.
We did not see any performance issues in our production environment. But lately, I have come across the following: "Whatever you do, using Apache HTTPD to proxy your requests should be avoided at all costs, as this will reduce your performance by almost 50%." http://www.mulesoft.com/tomcat-performance .
It all depends on how you configure Apache and what protocols you configure for proxying. Some protocols and modules are slower than others. However, as a result of using AJP with mod_proxy, I don't get much worse. It works great. In addition, we also use mod_security for further intrusion detection and detection.
One of the biggest advantages that comes with Apache is the ability to download balanced and scalable services.
source share