Best pracitce with apache www + jboss/tomcat
Posted on 2008-06-12
I'm wondering what is the best practice with fronting apache before back-end jboss/tomcat application server. Our environment has been created in this way :
First server - Dell PowerEdge 1950 - 2x Intel Xeon X5355 @ 2.66GHz (4 cores for each processor) , 8GB RAM - Windows Server 2003 R2 Standard x64 Edition , Apache 2.2.6 (32bit) mod_jk/1.2.25 OpenSSL 0.9.8g, JBoss 4.0.5GA bundled with Tomcat 5.5.20.
Second server - Dell Power Edge R900 - 4x Intel Xeon E7340 (4 cores for each processor), 16GB RAM - Windows Server 2003 R2 Standard x64 Edition - PostgreSQL 8.1.11
Any my question is : what is the best solution for performance - move apache to different server or leave it on same machine with jboss/tomcat ? I have Dell PE 2650 2x Intel Xeon 3,4GHz (1 core processors) 4GB RAM - free machine to move apache there.