Hi,
I have attached the files client.java and sumserver.java which are the client and
server programs respectively.
I ran the two on the same machine. Presently I have set the no of threads spawned in
the client program to 500.
I tried also for 20 and 50 threads.
My benchmarking results were:
The result I was looking for was:
(i) the roundtrip delay for each request in milliseconds and
(ii) the number of successful connections to the server (i.e. out of the 'n' threads
that tried to connect to the server to make an RPC, not all managed to get a
connection: Most returned a SOAP exception which said -->
Caught SOAPException (SOAP-ENV:Client): error opening socket: Connection refused
: no further information ). This probably indicates some form of limitation on the
:number of simultaneous connections to the server.
The server program was running on the same machine as the client.
I tried for 3 different values of 'n' i.e. the number of threads on the client side
No. of successful threads Range of roundtrip delays in millisec
(min-max)
'n' = 50
---------
case 1 21 8297 - 13984
. 13 2125 - 5172
. 17 2109 - 6828
. 21 2500 - 7969
. 21 2234 - 8297
case 6 21 3656 - 7907
'n' = 20
---------
case 1 20 14204 - 15219
. 20 3422 - 7610
. 20 2032 - 7542
. 20 2828 - 7453
. 16 2671 - 6313
. 20 1703 - 7547
. 20 3953 - 7453
case 8 17 2797 - 6469
'n' = 500
---------
case 1 66 25640 - 69047
. 16 8265 - 11813
. 27 7969 - 15813
case 4 22 8422 - 12844
regards,
Siddharth
On Wed, 19 Sep 2001 Scott Nichol wrote :