File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Apache in front of Tomcat on dff machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache in front of Tomcat on dff machine" Watch "Apache in front of Tomcat on dff machine" New topic

Apache in front of Tomcat on dff machine

Michal Glowacki
Ranch Hand

Joined: Mar 14, 2006
Posts: 114

Currently I have Apache with mod jk in front of my Tomcat 5.5 (bundled in jboss). They work on the same machine. I want to move Apache to different machine - httpd.exe uses even up to 1,5GB of RAM and I wan't to assign as much as possible to jboss process - and probably context switching by cpu also hits the performance.

My question is - will it degradate performance? I mean the time of redirecting in mod jk?

Niklas Rosencrantz
Ranch Hand

Joined: Apr 08, 2006
Posts: 49
You can facilitate performance tests with this program <a href="<a href="" target="_blank" rel="nofollow">Grinder</a>" target="_blank" rel="nofollow">
I would contact the ISP to get fastest connection between (virtual?) boxes, or dedicated rack servers if such are economically preferrable. I use the same configuration (httpd, tomcat/jboss, mysql) in virtual hosting with a couple of thousand daily pageviews.
I agree. Here's the link:
subject: Apache in front of Tomcat on dff machine
It's not a secret anymore!