----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Faik Siddiqi wrote:
> 
[cut the source code]

> Regards,
> Faik Siddiqi
> 

Hi Faik, 

as you can see in the following benches, 5 parallel request take the
same elapsed time than one.
your client bencher sucks.
Conclusion : use real benchmarks tools (ab coming with apache source
contribs is really good for that) and not those you've written in 10
minutes ;-)
(I have modified your source code to send back a fixed string (9 bytes)
without the variable session)

Jean-Luc

[root@r26m24 bin]# ./ab -c 1 -n 5
http://humilis.home.jnix.com/servlets/JServTest
This is ApacheBench, Version 1.3a
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Server Software:       
Apache/1.3.9                                       
Server Hostname:        humilis.home.jnix.com
Server Port:            80

Document Path:          /servlets/JServTest
Document Length:        9 bytes

Concurrency Level:      1
Time taken for tests:   25.253 seconds
Complete requests:      5
Failed requests:        0
Total transferred:      1380 bytes
HTML transferred:       45 bytes
Requests per second:    0.20
Transfer rate:          0.05 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        2     2     2
Processing:  5047  5047  5048
Total:       5049  5049  5050
[root@r26m24 bin]# ./ab -c 5 -n 5
http://humilis.home.jnix.com/servlets/JServTest
This is ApacheBench, Version 1.3a
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Server Software:       
Apache/1.3.9                                       
Server Hostname:        humilis.home.jnix.com
Server Port:            80

Document Path:          /servlets/JServTest
Document Length:        9 bytes

Concurrency Level:      5
Time taken for tests:   5.148 seconds
Complete requests:      5
Failed requests:        0
Total transferred:      1380 bytes
HTML transferred:       45 bytes
Requests per second:    0.97
Transfer rate:          0.27 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        9    31    41
Processing:  5046  5072  5097
Total:       5055  5103  5138
[root@r26m24 bin]#


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to