<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote id="DWT452" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Remy Maucherat" <rmaucher@redhat.com><br><b>To: </b>jboss-as7-dev@lists.jboss.org<br><b>Sent: </b>Friday, October 21, 2011 1:58:38 AM<br><b>Subject: </b>Re: [jboss-as7-dev] Controlling Maximum Number of JBoss Web HTTP Threads<br><br>On Thu, 2011-10-20 at 15:17 -0400, Andrig Miller wrote:<br>> Good thing you looked at the code. I assumed that it impacted the<br>> threads. I guess the defaults have always been big enough for all<br>> the tests I have done then. We should open a JIRA on JBoss Web to add<br>> the maxThreads attribute to the XML schema that goes into domain.xml<br>> and standalone.xml, and have it defined as read-write, so this can be<br>> changed.<br><br>I won't add it. To configure the thread pool, use an executor instead.<br>It is possible to tie maxConnections to maxThreads, but I am not<br>convinced it is an acceptable side effect.<br></blockquote>What do you mean you won't add it? In all the testing I have done, configuring an executor, just so we can configure the number of threads, is actually slower from a throughput perspective. Your really saying that we have to use something that has consistently been slower, just so you don't have to expose maxThreads?<br><br>Come on Remy. Where's the logic in that? So, as we gear up our benchmarking work on SPEC, we won't be able to use the faster solution, just because we won't be able to configure it.<br><br>I think you should rethink your position. It's not exactly helping the company out any.<br><br>Of course, I guess I could start looking at the two implementations and see why the one is faster than the other, and change JBoss Threads so that there is no penalty, but it sure sounds a lot easier to expose one additional attribute for configuration.<br><br>Andy<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><br>-- <br>Remy Maucherat <rmaucher@redhat.com><br>Red Hat Inc<br><br>_______________________________________________<br>jboss-as7-dev mailing list<br>jboss-as7-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></blockquote><br></div></body></html>