[jboss-user] [Performance Tuning] - Re: JBoss 4.2.2 number of threads that could be supported

Peter Johnson do-not-reply at jboss.com
Mon Jul 18 09:33:09 EDT 2011

Peter Johnson [http://community.jboss.org/people/peterj] created the discussion

"Re: JBoss 4.2.2 number of threads that could be supported"

To view the discussion, visit: http://community.jboss.org/message/615854#615854

Your formula is fairly accurate - given your system's memory you can support about 1000 threads. However, being able to physcially support that number of threads and having the system still run while juggling that number of threads are two different things. The only way to really tell how many threads your app can handle is through load testing. And while doing that you need to monitor system data, determine where the bottleneck is, then eliminate or reduce the bottleneck, and repeat until you get the performance you like. And there can be numerous reasons why your app starts to slow down at 500 threads: contention within the app, the app server or even the OS/hardware.  

Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110718/e44c10c7/attachment.html 

More information about the jboss-user mailing list