While load-testing our application on a Jboss/MySql installation we've seen 
that JBoss is spending over 25% of its total execution time just creating 
connections to the MySql DB.  This seems to be a high number to me since the 
connections are supposed to be pooled.  It almost seems as though JBoss is 
actually creating and throwing away database connections instead of 
pooling/sharing them.  I've been looking around on the Internet Forums but 
haven't seen anyone else raising this issue.

This is definitely an issue since running the same code on Plain Jane Tomcat 
where we pool the connections by hand (vs Stateless Session Beans and JDBC) we 
see performance increase from approx 12 transactions/second to around 300. 

We're running JBoss 4.0.3 and MySQL 4.1.9 using the Connector/J drivers.
The MySql.ds file is set with a Min/Max pool size of 500 connections (the 
number doesn't seem to make a difference) and the prepared statement cache is 
set to 200.

JBoss-Service.xml has been updated to pool invokers.

Any insight would be greatly appreciated.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915830#3915830

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915830


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to