axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-780) Multithreaded client, performance degradation.
Date Thu, 12 Oct 2006 23:48:39 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-780?page=all ]

Davanum Srinivas updated AXIS2-780:
-----------------------------------

    Component/s: codegen
    Description: 
I've been running a few performance tests on Axis2 to compare it with Axis1. 
I've found that when I post requests using a multithreaded http client [ that spawns multiple
threads each sending a certain number of requests ] , the performance of Axis2 seems to degrade,
whereas that of Axis1 seems to be relatively stable when tested using the same client. 

Here are the figures I have got. Each thread sends 1000 requests.
I have measured throughput by measuring the time taken for all the threads to finish and then
calculating requests per sec.


			  Axis2(req/sec)	   Axis1(req/sec)
			     --------------       	       -----------
    10 threads  - 1105.530784		  545.9761944   
    20 threads  - 635.3480599	          556.6025772
    30 threads  - 411.2374179             550.5108726
    40 threads  - 215.8165598             570.8683581


Apparently, as the number of threads increases, the performance drops in Axis2 whereas it
remains reasonably stable in Axis1.
Can someone tell me the reason for this, and is there any way the performance with multiple
threads in Axis2 can be made better / stabilized ?

My Setup:
---------
Red Hat Enterprise Linux ES release 4
Axis2 version 1.0
Tomcat 5.5.17
jdk 1.5.0_04


  was:

I've been running a few performance tests on Axis2 to compare it with Axis1. 
I've found that when I post requests using a multithreaded http client [ that spawns multiple
threads each sending a certain number of requests ] , the performance of Axis2 seems to degrade,
whereas that of Axis1 seems to be relatively stable when tested using the same client. 

Here are the figures I have got. Each thread sends 1000 requests.
I have measured throughput by measuring the time taken for all the threads to finish and then
calculating requests per sec.


			  Axis2(req/sec)	   Axis1(req/sec)
			     --------------       	       -----------
    10 threads  - 1105.530784		  545.9761944   
    20 threads  - 635.3480599	          556.6025772
    30 threads  - 411.2374179             550.5108726
    40 threads  - 215.8165598             570.8683581


Apparently, as the number of threads increases, the performance drops in Axis2 whereas it
remains reasonably stable in Axis1.
Can someone tell me the reason for this, and is there any way the performance with multiple
threads in Axis2 can be made better / stabilized ?

My Setup:
---------
Red Hat Enterprise Linux ES release 4
Axis2 version 1.0
Tomcat 5.5.17
jdk 1.5.0_04



> Multithreaded client, performance degradation.
> ----------------------------------------------
>
>                 Key: AXIS2-780
>                 URL: http://issues.apache.org/jira/browse/AXIS2-780
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>         Environment: Red Hat Enterprise Linux ES release 4
> Axis2 version 1.0
> Tomcat 5.5.17
> jdk 1.5.0_04
>            Reporter: Subramanyam Ramanathan
>         Attachments: Axis2SampleDocLit.wsdl, Axis2SampleDocLitServiceSkeleton.java, PostXmlThreaded.java,
test2.xml, ThreadedSoapSender.java
>
>
> I've been running a few performance tests on Axis2 to compare it with Axis1. 
> I've found that when I post requests using a multithreaded http client [ that spawns
multiple threads each sending a certain number of requests ] , the performance of Axis2 seems
to degrade, whereas that of Axis1 seems to be relatively stable when tested using the same
client. 
> Here are the figures I have got. Each thread sends 1000 requests.
> I have measured throughput by measuring the time taken for all the threads to finish
and then calculating requests per sec.
> 			  Axis2(req/sec)	   Axis1(req/sec)
> 			     --------------       	       -----------
>     10 threads  - 1105.530784		  545.9761944   
>     20 threads  - 635.3480599	          556.6025772
>     30 threads  - 411.2374179             550.5108726
>     40 threads  - 215.8165598             570.8683581
> Apparently, as the number of threads increases, the performance drops in Axis2 whereas
it remains reasonably stable in Axis1.
> Can someone tell me the reason for this, and is there any way the performance with multiple
threads in Axis2 can be made better / stabilized ?
> My Setup:
> ---------
> Red Hat Enterprise Linux ES release 4
> Axis2 version 1.0
> Tomcat 5.5.17
> jdk 1.5.0_04

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message