You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "jacekw (JIRA)" <ji...@apache.org> on 2010/02/15 12:25:28 UTC

[jira] Created: (AXIS2-4624) Poor performance with large(?) data structures

Poor performance with large(?) data structures
----------------------------------------------

                 Key: AXIS2-4624
                 URL: https://issues.apache.org/jira/browse/AXIS2-4624
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.5.1
         Environment: Windows XP; Tomcat 6.0; axis2 1.5.1
            Reporter: jacekw


While returning large(?) data structures from web service method, conversion of java objects to xml takes long time.

We return an array of complex java type.

Web service method returns array of 100 objects of the same type.
Resulting .xml size is ~800 kB.
Conversion takes 15 seconds.

Here is some log:
[DEBUG] 10:49:22:686 [called web service method returns, axis starts processing]
[TRACE org.apache.axiom] 10:49:22:701 START_ELEMENT: 
.
.
.
[TRACE org.apache.axiom] 10:49:37:498 END_ELEMENT: 
[TRACE org.apache.axiom] 10:49:37:498   QName: {http://logistic.impl.ws.biz.esc.meb.max.com.pl}getItemsResponse
[DEBUG org.apache.axis2 ] 10:49:37:498 [MessageContext: logID=urn:uuid:A3DDF9D625B38D7BB01266227375558] Checking pre-condition for Phase "soapmonitorPhase"


This issue causes timeout-related problems on production environment.
I suppose it's could be optimized after all it's just 100 structurally the same xml pieces.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.