Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 94333 invoked from network); 1 Jun 2007 11:13:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 11:13:45 -0000 Received: (qmail 43340 invoked by uid 500); 1 Jun 2007 11:13:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 43276 invoked by uid 500); 1 Jun 2007 11:13:34 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 43265 invoked by uid 99); 1 Jun 2007 11:13:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 04:13:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [82.70.116.177] (HELO mail.melandra.com) (82.70.116.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 04:13:28 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: WebApp really slow, Where do I start looking? X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Fri, 1 Jun 2007 12:13:04 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: WebApp really slow, Where do I start looking? Thread-Index: AcekKzouoixHoeSkS6uzNdsTh7zMUQACuvnwAAHO04A= References: <465FDD74.7020301@omegames.com> <465FDFDF.7070301@oma.be> <002c01c7a437$1c820cb0$9300a8c0@siege.omegames.com> From: "Peter Crowther" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org > From: St=E9phane Hanser [mailto:s.hanser@omegames.com]=20 > However, removing some synchronized blocks will cause=20 > concurrent access > issues when a user "mass clicks". Is it possible to configure=20 > tomcat to > queue one's requests instead of executing the in parallel ? Not in all cases. The browser is free to make new requests to a web = server; it would be up to your code to detect that they came from the = same session and take appropriate actions. In general, if a user = mass-clicks, you actually want to process the most recent as the browser = will no longer take responses fr the older requests... If you're concerned about multiple clicks on submit buttons, there are = well-known ways to use Javascript to disable the button once the user = clicks it the first time. - Peter --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org