Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 8198 invoked from network); 23 Jan 2003 12:37:54 -0000 Received: from exchange.sun.com (192.18.33.10) by 208.185.179.12.available.above.net with SMTP; 23 Jan 2003 12:37:54 -0000 Received: (qmail 5120 invoked by uid 97); 23 Jan 2003 12:38:53 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 5080 invoked by uid 97); 23 Jan 2003 12:38:53 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 5059 invoked by uid 98); 23 Jan 2003 12:38:52 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Reply-To: From: "Daniel Brown" To: "Tomcat Users List" Subject: RE: Using SingleThreadModel under tomcat Date: Thu, 23 Jan 2003 12:37:19 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <1043322477.2033.6.camel@desenv1.ritterdosreis.br> X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N 2. Tomcat maintains a pool of up to 20 (by default) instances of each servlet that implements the SingleThreadModel. If no instance is available when a new request comes in, the request waits on an instance freeing up, so will be serviced when the queue empties, or when the request gets lucky, and is randomly chosen by the scheduler as the one to be notified. > -----Original Message----- > From: Felipe Schnack [mailto:felipes@ritterdosreis.br] > Sent: 23 January 2003 11:48 > To: dan@27d.org; Tomcat Users List > Subject: RE: Using SingleThreadModel under tomcat > > > And tomcat implements option 1 or 2? > > On Thu, 2003-01-23 at 09:36, Daniel Brown wrote: > > If, however, the servlet implements SingleThreadModel, then the > container > > has two choices: > > > > 1. serialise all requests through the single instance > > 2. create a pool of servlet instances, and share out requests > amongst the > > pool, as each pool member becomes free -- To unsubscribe, e-mail: For additional commands, e-mail: