Home‎ > ‎

No Apache, Tomcat

posted Jan 1, 2010, 6:15 PM by Allen Gattis   [ updated Jan 4, 2010, 6:54 PM ]

Why don't we use apache in front of tomcat? Other than not needing it, and the imperitive of simplifying whereever possible, I'll quote the apache docs.

When using a single server, the performance when using a native webserver in front of the Tomcat instance is most of the time significantly worse than a standalone Tomcat with its default HTTP connector, even if a large part of the web application is made of static files.

Need I say more?

Of course, this will change at some point when we suprass acceptable load on the tomcat servers....or will it?

Tomcat 5 provides load balancing in three different ways: using the JK native connector, using Apache 2 with mod_proxy and mod_rewrite, or using the balancer web app.

The balancer web app is for tomcat native load balancing and provides usefull features such as cluster wide sessions that the apache solutions (and hardware based ones) do not.


Below are some links on using tomcat native clustering.
 And of course:

Comments