Академический Документы
Профессиональный Документы
Культура Документы
Over the past couple of years the JBoss application server has established itself as a
competitive open-source alternative to commercial J2EE platforms. Although it has been
criticized for having poor scalability and performance, it keeps gaining in popularity and
market share. In this paper, we present an experience report with a deployment of the
industry-standard SPECjAppServer2004 benchmark on JBoss. Our goal is to study how
the performance of JBoss applications can be improved by exploiting different deployment
options offered by the JBoss platform. We consider a number of deployment alternatives
including different JVMs, different Web containers, deployment descriptor settings and data
access optimizations. We measure and analyze their effect on the overall system perfor-
mance in both single-node and clustered environments. Finally, we discuss some general
problems we encountered when running the benchmark under load.
Acknowledgments
Figure 20: Mean response times under the two JVMs in
the clustered environment We acknowledge the many fruitful discussions with our
colleague Christofer Dutz from Darmstadt University of
ing the throughput of the dealer and manufacturing do- Technology.
mains. While the throughput of the manufacturing do-
main was increasing with the injection rate, the through- References
put of the dealer domain quickly reached its peak point
and started to drop. [Apa] Apache Software Foundation. Jakarta Tomcat.
.
6 Summary and Conclusions [BR01] P. Brebner and S. Ran. Entity Bean A, B, C’s:
Enterprise Java Beans Commit Options and
In this paper, we studied how the performance of
Caching. In Proc. of IFIP/ACM Intl Conf. on
JBoss applications can be improved by exploiting dif-
Distr. Systems Platforms - Middleware, 2001.
ferent deployment and configuration options offered by
the JBoss platform. We used the industry standard [KB02] S. Kounev and A. Buchmann. Improving Data
SPECjAppServer2004 benchmark as a basis for our ex- Access of J2EE Applications by Exploiting
perimental analysis. Asynchronous Processing and Caching Ser-
Comparing the three alternative Web containers vices. In Proc. of the 28th Intl Conference on
Tomcat 4.1, Tomcat 5 and Jetty, revealed no significant Very Large Data Bases - VLDB2002, 2002.
performance differences. Tomcat 5 (with debugging
turned off) and Jetty, turned out to be slightly faster than [Mor] Mort Bay Consulting. Jetty Java HTTP Servlet
Tomcat 4.1. On the other hand, using local interfaces Server.
.
to access business logic components from the presen- [Sac03] Sacha Labourey and Bill Burke. JBoss Cluster-
tation layer, brought significant performance gains. In- ing. The JBoss Group, 2520 Sharondale Dr.,
deed, response times dropped by up to 35% and the uti- Atlanta, GA 30305 USA, 6th edition, 2003.
lization of JBoss server dropped by 10%. Caching entity
beans with commit option A (with and without cache in- [Sco03] Scott Stark. JBoss Administration and Devel-
validation), resulted in 30 to 60 percent faster response opment. The JBoss Group, 2520 Sharondale
times and 20% lower CPU utilization, both for the JBoss Dr., Atlanta, GA 30305 USA, 3th edition, 2003.
server and the database server. The performance gains
from caching prepared statements were even greater. [Sta04] Standard Performance Evaluation Corpora-
The other data access optimizations considered, led to tion (SPEC). SPECjAppServer2004 Docu-
only minor performance improvements. However, we mentation. Specification, Apr 2004.
must note here that, being an application server bench- .
mark, SPECjAppServer2004 places the emphasis on [Sun02] Sun Microsystems, Inc. Enterprise JavaBeans
the application server (transaction processing) rather 2.0. Specification, 2002.
than the database. We expect the performance gains
.
from data access optimizations to be more significant, in
applications where the database is the bottleneck. Fur- [Wei04] Bjoern Weis. Performance Optimierung von
thermore, in our analysis we considered optimizations J2EE Anwendungen auf der JBoss Plattform.
one at a time. If all of them were to be exploited at the Master thesis, Darmstadt University of Tech-
same time, their cumulative effect would obviously lead nology, March 2004. In German.
to more significant performance improvements. Finally,
we demonstrated that switching to a different JVM may
improve JBoss performance by up to 60%.
On the negative side, our experience with JBoss