On 27-Apr-2009, at 13:59, Leon Rosenberg wrote:
In addition to more granular security (as described above), having
isolated the web layer from the application layer allows you to
independently adjust the performance >of each. If you are finding
that your system serves a lot more static content than it does
'application' functionality, you may need several web servers to
handle the load. >Likewise, if your system is application focused,
you may need more tomcat servers (probably clustered) than web
servers.
The short answer to that would probably be, if you have performance
concerns, you just do not use apache httpd. If you want/need to
loadbalance, a hardware loadbalancer is the weapon of choice. If you
need to server a lot of large static content (pictures) you put
reverse proxies in front of your tomcats. If you need to serve static
content (js, css etc) along with dynamic content, you let tomcat
handle it, it serves static content faster than httpd anyway.
Imho, the only valid use for httpd in front of tomcat is when you are
a one-man one-server company and need to host a lot of virtual stuff
on your box including php and such. Everything else and you are better
of without httpd :-)
If you have a large budget, then hardware anything generally makes for
better performance, since that what they are optimized for. On the other
hand when you a small startup Apache HTTPD allows you to leverage
hardware
you already have for a much lower cost. The following article
illustrates
this:
http://www.networkcomputing.com/channels/security/showArticle.jhtml?articleID=47204086
Long term it makes more sense to invest the right equipment, but we
don't
all have $4000 available right off.
Are there any good articles, with performance numbers that show how
Tomcat can
compete against Apache HTTPD? While many on this will accept what you
have
to say, the people who make the financial choices often want something
that lays it out bare in a documented format.
André-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org