Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 88126 invoked from network); 9 Jun 2005 07:48:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2005 07:48:54 -0000 Received: (qmail 57909 invoked by uid 500); 9 Jun 2005 07:48:37 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 57896 invoked by uid 500); 9 Jun 2005 07:48:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 57883 invoked by uid 99); 9 Jun 2005 07:48:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp4.jaring.my (HELO smtp4.jaring.my) (61.6.32.54) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 00:48:34 -0700 Received: from MELVIN ([219.95.209.219]) (authenticated bits=0) by smtp4.jaring.my (8.13.1/8.13.1) with ESMTP id j597m3LP093429 for ; Thu, 9 Jun 2005 15:48:12 +0800 (MYT) (envelope-from mwhc@pd.jaring.my) From: "Melvin Wong" To: Subject: How can I make my this Tomcat app serves many concurrent users? Date: Thu, 9 Jun 2005 15:48:37 +0800 Message-ID: <005001c56cc7$ac2d5170$7900a8c0@MELVIN> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0051_01C56D0A.BA509170" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Virus-Scanned: JARING E-Mail Virus Scanner v2.0 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0051_01C56D0A.BA509170 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, My objective for this topic is to find a way to make my tomcat app able to handle as many as possible concurrent requests. My app spec is -servlet running on Tomcat 5.0 My app is a mobile text messaging app that receives requests via a single servlet, called InboundRequest. This servlet will, 1. Read the HTTP params in the request 2. Decide to which other servlet classes it should forward to (RequestDispatcher) 3. The recipient servlet will read the HTTP param, process it and outputs the data via OutboundResponse java class. So, my issue is, 1. What factor decides the number of concurrent requests my InboundRequest servlet can handle? Is it my code or Tomcat itself or the server hardware 2. Since I'm using Request Dispatcher forwarding, if say i have a request that takes 5 seconds to complete the its task (to output the result via OutboundResponse), will in inhibits/stops any other requests that comes in during that 5 seconds? I appreciate all expertise i can get. Thank you and have a great day. Just me, myself & I, Melvin Yahoo: sun482@yahoo.com MSN: melvinwong@myrealbox.com ------=_NextPart_000_0051_01C56D0A.BA509170--