Re: Load Tests Between JBoss and Apache Web Server
On Sep 11, 11:54 am, cookieplanter <cookieplan...@gmail.com> wrote:
We've been running some load tests to see how JBoss compares to an
Apache web server. The numbers just don't seem to add up. Apache beats
the socks out of JBoss by a ration of 1:10. On Apache, we're
continuously requesting for a simple HTML page and on JBoss, we're
requesting for a simple JSP page with no processing on it.
What am I missing here? The numbers seem off. Is my App server not
tuned right or that is all I can expect from this server?
Please help.
A better test would be to serve static HTML from both servers -- JSPs,
even JSPs with only static content, are programs that must be
evaluated, not static resources. Even at that, though, you'll likely
discover that JBoss is noticably slower than Apache HTTPD. JBoss also
provides a very wide range of application services to build on that
are simply not available under HTTPD, including the entire EJB2 and
(depending on version) EJB3 specifications.
Tuning JBoss is something of a black art, too; the easiest way to get
a performance boost initially is to increase the -Xms and -Xmx JVM
parameters at JBoss startup time to give it a larger heap to play
with. The return on investment from that falls off fairly rapidly
after about 1 gigabyte of heap, though, after which you're into
tweaking the behaviour of specific components and removing unused
components.
Owen