Hi Tomislav,
Am Sonntag, 15. Mai 2005 16:10 schrieb t.n.a.:
> Lutz Zetzsche wrote:
> >As regards performance, running Apache in front of Tomcat is not
> >preferable. A standalone Tomcat is faster than a Tomcat behind an
> >Apache.
>
> I'm not speaking from my own experiance, but I've done some reading
> some time ago and the best practice I've found is to have apache
> serve static content because it's faster and comes with a whole lot
> of modules and have Tomcat serve the dynamic content - don't know if
> we're talking about the same thing.
Well, what I mean is that Tomcat can serve dynamic content faster if it
runs standalone so that the requests are directly handled and the pages
are directly served by Tomcat.
Also, the gap between Tomcat and Apache is closing as regards the
performance in serving static content.
Here are a few pros and cons for the Apache-Tomcat combination:
http://jakarta.apache.org/tomcat/faq/connectors.html#integrate
My personal point of view is that I would always try to avoid to run a
Tomcat behind an Apache, as this can sometimes significantly impair the
performance when serving dynamic content from Tomcat.
Best wishes
Lutz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]