Re: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Bill Barker
The main overhead is with keeping track of and processing Filters (which don't exist in Servlet-2.2). TC 3.3.x also has some optimizations based on the fact that it is illegal to wrap the Request/Response objects in Servlet-2.2. Of course, Servlet-2.3 encourages wrapping the Request/Response :-).

Re: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Bill Barker
l 03, 2003 4:30 AM >To: [EMAIL PROTECTED] >Subject: Re: Tomcat 4.1 slower than Tomcat 3.3 > >Well, the big performance change in TC4.1 over TC3.3 is Jasper2 vs. >Jasper1. >For heavy JSP sites, my benchmarks say that TC4.1 wins. > >Since it seems that you aren't using J

RE: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Chris Agmen-Smith
Hello, Thanks for all the great feedback so far. Firstly, Bill Barker writes that: >For non-JSP sites that don't require Servlet-2.3 features, >it is very hard to beat TC3.3 for performance. Oh dear! We use Velocity, not JSP. What are the additional overheads in the Servlet 2.3 spec? Secondly,

RE: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Shapira, Yoav
Howdy, I would add Coyote as another big change from the older HttpConnector. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Bill Barker [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 03, 2003 4:30 AM >To: [EMAIL PROTECTED] >Subject: Re: Tomcat

Re: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Endre Stølsvik
On Thu, 3 Apr 2003, Bill Barker wrote: | Since it seems that you aren't using JSP at all, it isn't surprising (to me | at least :) that the extra over-head of supporting the 2.3 Servlet spec | drags down TC4.1 vs. TC3.3. For non-JSP sites that don't require | Servlet-2.3 features, it is very hard

Re: Tomcat 4.1 slower than Tomcat 3.3

2003-04-03 Thread Bill Barker
Well, the big performance change in TC4.1 over TC3.3 is Jasper2 vs. Jasper1. For heavy JSP sites, my benchmarks say that TC4.1 wins. Since it seems that you aren't using JSP at all, it isn't surprising (to me at least :) that the extra over-head of supporting the 2.3 Servlet spec drags down TC4.1

RE: Tomcat 4.1 slower than Tomcat 3.3

2003-04-02 Thread Shapira, Yoav
Howdy, >Is Tomcat 4 slower than Tomcat 3? Too broad of a question to answer, although in general I'd say no, tomcat4 is faster and has been faster for every app I've benchmarked. But from the rest of your email, your question isn't about speed, it's about CPU usage. >I've recently tried to por