Hello Everyone -
I'm facing a very interesting performance challenge with CXF client.
While doing load testing we notice that CXF client response time increases
linearly over the period for same operation.
I'm using CXF as a web services client(WSDL2Java generated Client + JAXB
Binding), calling a WCF SOAP WebService(SOAP1.2 version) hosted on a .net
platform.
I am using following approach to invoke the service and receive response.
OURService service = new OURService();
OurHTTPPort client = service.getOurHTTPPort();
OURResponseObject result = client.GetResponseObject(OurRequest);
Couple of issues noticed,
1. First get Port call always takes 30 -60 seconds to get port subsequent
calls is faster comes in 1-2 seconds but over the period it goes back 30-60
seconds.
OurHTTPPort client = service.getOurHTTPPort(); to resolve this we went
with the object pooling mechanism which helped to get rid port creation time
issue.
2. CXF Client operation invocation takes more time over the period.
1. Say for example I invoke an Operation ABC(requestObject) 10000 times
during 4 hours load test in which the first one hour for first 1000 calls
the response comes back in 200-300ms( every time input is different request
) but over the period it linearly increases, 2nd hour 400-600 ms then 3rd
hour 700-800 ms and then 4th hour 1 sec to 1.2 sec.
2. we are seeing the same behaviour for any different operation in our
load
test we are calling at least 20 different operations and all has the same
behaviour.
The .net server-side transaction log and web access log shows that all
requests response times were "good" (100 - 200ms).
We also did analysis at our end on the JVM memory usage and everything looks
good also on network traffic side too no problem.
Additional information instead of CXF framework if we use AXIS 1.4 (which
was previously used in our project) the same load test goes fine no issues
noticed.
So...here's my question....
Why the response time linearly increasing over the period ? is there anyway
i can find which CXF component takes time?
Is there any way I can figure out what is happening with CXF client
invocations or is there any performance logging available to monitor client
performance ?
Please help.....
<http://cxf.547215.n5.nabble.com/file/n5743664/Response_Time_Chart.jpg>
Regards
Karthik
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-Client-Performance-Issue-Service-Invocation-time-increases-Linearly-over-the-period-net-WCF-Webs-tp5743664.html
Sent from the cxf-user mailing list archive at Nabble.com.