You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ahnf <in...@yahoo.com> on 2008/03/25 18:29:00 UTC
should I get rid of apache fronting tomcat?
Hi,
We started using Tomcat and Apache back around Tomcat 3.x. Tomcat serves everything except small image requests, js and css files. (Such as buttons, small banners etc)
Nowadays, in the newer Tomcat 6.x versions, is the extra hassle and configuration of having Apache front Tomcat really worth it?
I am in the processing of trying to evaluate if getting rid of Apache in our app servers is reasonable.
thanks for your insights!
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: should I get rid of apache fronting tomcat?
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: ahnf [mailto:interz12@yahoo.com]
> Subject: should I get rid of apache fronting tomcat?
>
> Nowadays, in the newer Tomcat 6.x versions, is the extra
> hassle and configuration of having Apache front Tomcat
> really worth it?
Not in my opinion, assuming you're not using httpd for anything other
than static content. (Note that Apache is an open-source software
organization with many products, httpd being just one of them.)
The only real way to tell is to take measurements in your environment.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: should I get rid of apache fronting tomcat?
Posted by Peter Crowther <Pe...@melandra.com>.
> From: ahnf [mailto:interz12@yahoo.com]
> We started using Tomcat and Apache back around Tomcat 3.x.
> Tomcat serves everything except small image requests, js and
> css files. (Such as buttons, small banners etc)
>
> Nowadays, in the newer Tomcat 6.x versions, is the extra
> hassle and configuration of having Apache front Tomcat really
> worth it?
If you have additional security configuration on httpd, you may want to keep it - it may be too much hassle to reconfigure on Tomcat.
If you have complex proxying on httpd, you may want to keep it - it may also be too much hassle to reconfigure on Tomcat.
If you want to improve response time, you will almost certainly improve response time for the "everything except" by getting rid of httpd. You may or may not improve overall response time - it depends on your exact traffic mix, Tomcat's thread allocation, OS and Java memory use, and a host of other variables. The only way to find out for sure is to profile the app under load!
If you have good admin expertise on both Tomcat and httpd (so you're not scared about removing httpd because "here be dragons" in Tomcat), and you've profiled the app and it doesn't degrade, then I'd simplify by taking out httpd. Then give that memory to Tomcat or the OS cache, depending on your profiling results.
- Peter
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org