[jboss-user] [Performance Tuning] New message: "Re: Problems with concurrency"
Peter Johnson
do-not-reply at jboss.com
Fri Feb 26 20:28:21 EST 2010
User development,
A new message was posted in the thread "Problems with concurrency":
http://community.jboss.org/message/528949#528949
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
You have hit on a performance anti-pattern. Throwing more threads at an an application does not necessarily mean that it will perform better. Eventually, the contention for common resources will work against you. For every application there is a sweet-spot for the optimal number of threads it can handle (and that includes the optimal number of database connections). One of the purposes of performance tuning is to find that sweet spot. From what you wrote, I suspect that somewhere around 350 connections is the sweet-spot for your app.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/528949#528949
More information about the jboss-user
mailing list