Another thing to remember is that JBoss must run as root to listen on port 80 or 443. That would be something that security conscious people might not want to do on a public server.

-danch

Larry O wrote:
I would suggest another criteria. If your application is on an intranet
or private network and traffic is low, by all means omit apache.
However, many of us put apache on or outside a firewall, and keep our
application server safely inside. The fewer services running on the
exposed server, the better.

My 2 cents.
Larry

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Pete Beck
Sent: Tuesday, December 17, 2002 11:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Using Apache web server - yes or no?


Just to throw my 2 cents worth in,
My app uses mostly dynamic content and I have tried using apache as a
front end, tomcat 4 and Jetty.

In my tests, using apache as a front end added a significant latency to
serving the content from JBoss.

So I would say yes, you may get benefits on your static content if you
use apache, but you will also lose performance on your dynamic content.

In my app I dropped apache as a front end as I was getting noticeably
better performance with tomcat standalone.

Eventually I switched to using to Jetty as it is shipped by default with
JBoss now, and it seems snappier than tomcat.

A good deciding factor therefore seems to be the ratio of static vs.
dynamic content on your site.

On Tue, 2002-12-10 at 14:18, Joao Pedro Clemente wrote:

Andreas, please explain a little bit better where will we get more performance. I can be (and surely am) wrong in my reasoning, but the original message says explicitly "ONLY dynamic applications". So, you say apache should be used to serve images/html... as far as I know, that is static content. So, if you have NO static content, what will apache improve?

Regards,
Joao Clemente





-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to