File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Apache in front of Tomcat on dff machine

Michal Glowacki
Ranch Hand

Joined: Mar 14, 2006
Posts: 114
Hi

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?

Michal
Niklas Rosencrantz
Ranch Hand

Joined: Apr 08, 2006
Posts: 49
You can facilitate performance tests with this program <a href="http://grinder.sourceforge.net/<a href="http://grinder.sourceforge.net/" target="_blank" rel="nofollow">Grinder</a>" target="_blank" rel="nofollow">http://grinder.sourceforge.net/Grinder
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: http://aspose.com/file-tools
 
subject: Apache in front of Tomcat on dff machine
 
Similar Threads
Apache Tomcat High Availability and Load Balancing
Tomcat + Apache first time
Apache File Serving efficience
threadpool.busy
laptop for programming