[jboss-user] [EJB 3.0] - Re: How to configure database connection count

PeterJ do-not-reply at jboss.com
Tue Oct 7 12:58:49 EDT 2008

What is min connection sze set to? I would assume 1.

Also, consider this. Let's say that an EJB spends on 10% of its time accessing the database. In that case, on average, you would expect that the number of active connections is only 10% of the number of EJBs actively processing requests. Lets further assume that an EJB is only actively processing requests 10% of the time for each user (in other words, accounting for the user's 'think time' between requests). In this situation, 1 connection would be sufficient to support 100 users - of the 100 users, only 10% [10 users] have requests active, and only 10% of those requests [1 request] are accessing the database.

So the question becomes, what kind of load is on the system?

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

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

More information about the jboss-user mailing list