I am using JBoss 4.0.3SP1 with Mysql Connector/J 3.1.12

I have been load testing our application and the bottleneck has been in getting 
the connection from the datasource.

It spends lots of time in trying to run execute() method in classes like 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand
The bottleneck is in line where
con = entity.getDataSource().getConnection();

I have tried to optimize the min/max connections and the thread pools.
As an alternative we used straight JDBC calls using our own Connection Pools 
from Tomcat instead of EJBs and the throughput was 10 times better and so was 
the response time.

Any suggestions as to how to get over this bottleneck using EJBs?
I still would like to be using an enterprise app server provided it performs 
and scales better.

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

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


-------------------------------------------------------
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