From shachor@techunix.technion.ac.il Tue Feb 8 17:23:21 2000 Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 75143 invoked from network); 8 Feb 2000 17:23:21 -0000 Received: from techunix.technion.ac.il (mailer@132.68.1.28) by locus.apache.org with SMTP; 8 Feb 2000 17:23:21 -0000 Received: by techunix.technion.ac.il (Postfix, from userid 10611) id 6657888F4; Tue, 8 Feb 2000 19:23:11 +0200 (IST) Date: Tue, 8 Feb 2000 19:23:11 +0200 (IST) From: Shachor Gal To: "'tomcat-dev@jakarta.apache.org'" Subject: Re: Tomcat vs. Resin In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Tomcat was not optimized yet, even simple stuff like thread pooling is not implemented... To add to that problem the HTTP engine used by Tomcat is relatively primitive and unoptimized. Resin on the other hand is considered one of the fastest servlet containers in the industry. This is exactly what you found out. Until now most of the work around Tomcat concentrates on adding functionality, I guess that the next versions will improve in terms of performance/scalability. Gal Shachor On Tue, 8 Feb 2000, Griggs, James wrote: > I ran an informal test for 9 hours last night on a Win98 PC comparing the > latest tomcat(apache.org) code and the latest resin > (caucho.com) both using Suns JDK 1.2. I used 2 instances of socrates to > simulate 100 users requesting a hello.jsp file at random intervals. > Tomcat and Resin were running at the same time on different ports. > > Result: Tomcat: Resin: > Total Requests Handled 26094 6546375 > Total Requests Dropped 4691 0 > Requests per Second .1 195 > Average Latency 98.17 .15 > > I'm assuming the dramatic difference in requests handled is due to a 60 > second timeout on dropped requests. > > I'm wondering if anyone can explain the dramatic difference in the results? > Am I doing something wrong here to cripple Tomcat? (... and since I know > the question will be asked: I have no affiliation with Caucho ;o) > > Jim Griggs > jim@netgenShopper.com >