We had a similar problem in our company, when tested JBoss3.2.5 and BEA's Weblogic 8.1 (SP1). Both are installed on Win2000 advanced server.
Web application on clients site do some upload. Problem is that using a JBoss app server for upload 5MB file takes ~130 sec, and when tried Weblogic with same file its takes only ~10-15 sec.
I couldn't explained that myself, and my colegues had no ideas too. Can anybody tell me how could I do something on perfomance tuning (JBoss).
Some tips for tuning CMP entity beans:
- Mark getter methods as read-only (in your jboss.xml)
- Turn on cache (in standardjboss.xml set commit-option to "A")
for your container (Standard CMP 2.x EntityBean)
- Read this article: http://www.onjava.com/pub/a/onjava/2003/05/28/jboss_optimization.html
Increase the prepared-statment-cache for your datasource. This lead to a dramatic performance increas when doing some SPECjAppServer2004 benchmarking.
Yet another Tip:
Use the JRockit VM from BEA it did not increase the troughput much, but the response-time was a lot better. It's free and NO I do not get payed for recomending it ... If you have a look at the SPECjAppServer results posted on the web you can see that most vendors use JRockit in their benchmarks. Even If they could youse their own VMs. Don't think they do this because it suxx.