Ok, i tested Jetty and Tomcat in the same environment. Here are my results.

Server Configuration:
Pentium Pro 200MHz
RAM 64 MB
IDE Drive
Red Hat Linux 7.0

Tomcat 3.2b7 / Jboss 2.0 Final from binary download section.
Jetty 3.0.0 RC 6 / jBoss 2.1 PRE from binary download section.

Client Configuration:
Pentium III 400 MHz
RAM 128 Mb
IDE Drive
MS Windows 2000

MS Web Application Stress Tool; all Tests with 64 Threads, 2 min Duration, 30 sec 
Warmup 

Network 100Mbits

           Apache       Tomcat  Jetty
HTML       401.84       76.86           60.51   Requests/sec
           157.38       827.82  937.71  Avg. Time to first Byte (ms)

Servlet  --             13.59           12.27   Request/sec
                        4705.21 5224.73 Avg. TTFB in ms

EJB        --           5.00            6.00       Req/sec
                        13595.61        11425.08 Avg. TTFB in ms


The HTML Page was very small and similar to the resulting pages from both other tests.
The Servlet does an database query over the Network on a postgresql database.
The EJB Test is constructed by an servlet, a session bean and entity beans with CMP on 
the same database as used for the servlet test.
The resulting page from servlet and EJB test is identical (same data, 4 rows).

As one can see, the difference isn't such big. For static Pages and Servlet Tomcat 
seems to be faster than jetty.
Anybody with similar results ?
Or did i something wrong ?
Did anybody else some benchmarks ?

Stefan Roeper
 
SoftWork EDV GmbH
Robert-Bosch-Str.12, 30989 Gehrden 
Tel: 05108 / 6402 -11   Fax: -29   Mobil: 0177 / 277 48 71 
http://www.softwork-edv.de 
mailto:[EMAIL PROTECTED] 


-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Julian Gosnell
Gesendet: Donnerstag, 16. November 2000 11:16
An: jBoss
Cc: [EMAIL PROTECTED]
Betreff: Re: [jBoss-User] Jetty vs Tomcat


Jetty has a super-fast implementation to serve any
kind of page - static, dynamic (CGI, Servlet, JSP,
WebApp). Furthermore, because no arbitrary distinction
between different content types has to be made, and
because the http server and servlet container are so
tightly integrated Jetty can be extremely efficient.

Just my penniesworth,

Jules


--- Bill Pfeiffer <[EMAIL PROTECTED]> wrote: >
If your plan is to just use your servlet container
> to serve up http, why not use tomcat without apache.
>  The benefit of running apache is that it serves
> static pages fast (I'm sure there are others).  If
> everything is going to come out of the servlet
> container, however, just set tomcat to listen on
> port 80.
> 
> Unless jetty has some super fast http implementation
> to serve up static pages, I think your loking at 6
> of one and half a dozen of the other. 
> 
> Bill Pfeiffer
> 
>   ----- Original Message ----- 
>   From: Michael G. Drew 
>   To: jBoss 
>   Sent: Wednesday, November 15, 2000 4:26 PM
>   Subject: [jBoss-User] Jetty vs Tomcat
> 
> 
>   I would like to design my web apps so that I can
> access them directy through a normal http url.  ie: 
> www.myserver.com/myapp   NOT: 
> www.myserver.com:8080/myapp.   I know I can do this
> by getting tomcat and apache working together, but
> when I introduce jBoss in the mix, I haven't been
> able to get the AJP12 communication working that is
> necessary for apache to work with tomcat.  
>    
>   The way I see it there are two options:
>    
>            Use jBoss/tomcat/apache:    must figure
> out AJP12 stuff
>                                                     
>  might be a bit slower (according to list)
>    
>           Use jBoss/Jetty:   since Jetty is both a
> Servlet container and Http server, I believe by
> integrating it into jBoss, I'll be able to have all
> three components (servlet, http, ejb) all working
> together AND be inVM.  I'm assuming this should be
> much faster than the jBoss/tomcat/apache approach.  
> I'm also assuming that I might be able to get my
> url's working again with this approach.
>    
>   Could someone please comment on the
> advantages/disadvantages of these two approaches and
> let me know if I've missed the mark on anything. 
> Many thanks as usual!
>    
>             
>   Michael G. Drew
>   Kishwaukee College
>   Interface Programmer
>   [EMAIL PROTECTED]
>   (815) 825-2086 ext 595
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]
�˛���m�ۢ�.���X��
+�)�v�,r����칻�&ލ�,����ߖ+-Š�x��c롹^���
+�)�v�,r�

Reply via email to