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 "Ann Robinson (JIRA)" <ji...@apache.org> on 2007/04/09 23:39:32 UTC

[jira] Created: (AXIS2-2490) Avoid the double write in the Message Context serialization to improve performance

Avoid the double write in the Message Context serialization to improve performance
----------------------------------------------------------------------------------

                 Key: AXIS2-2490
                 URL: https://issues.apache.org/jira/browse/AXIS2-2490
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: kernel
            Reporter: Ann Robinson
         Assigned To: Ann Robinson


In the message context serialization, there are some cases where an object needs to be written to a temporary buffer to check whether it will serialize ok or not.  This is done to avoid corrupting the actual output stream if an error occurs.  To improve performance, try to write the temporary buffer to the actual output stream instead of serializing the object twice.



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


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


[jira] Commented: (AXIS2-2490) Avoid the double write in the Message Context serialization to improve performance

Posted by "Ann Robinson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487637 ] 

Ann Robinson commented on AXIS2-2490:
-------------------------------------

Matt Lovett also contributed to this change.

Fixed in revision 526930.



> Avoid the double write in the Message Context serialization to improve performance
> ----------------------------------------------------------------------------------
>
>                 Key: AXIS2-2490
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2490
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: kernel
>            Reporter: Ann Robinson
>         Assigned To: Ann Robinson
>
> In the message context serialization, there are some cases where an object needs to be written to a temporary buffer to check whether it will serialize ok or not.  This is done to avoid corrupting the actual output stream if an error occurs.  To improve performance, try to write the temporary buffer to the actual output stream instead of serializing the object twice.

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


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


[jira] Closed: (AXIS2-2490) Avoid the double write in the Message Context serialization to improve performance

Posted by "Ann Robinson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ann Robinson closed AXIS2-2490.
-------------------------------

    Resolution: Fixed

> Avoid the double write in the Message Context serialization to improve performance
> ----------------------------------------------------------------------------------
>
>                 Key: AXIS2-2490
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2490
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: kernel
>            Reporter: Ann Robinson
>         Assigned To: Ann Robinson
>
> In the message context serialization, there are some cases where an object needs to be written to a temporary buffer to check whether it will serialize ok or not.  This is done to avoid corrupting the actual output stream if an error occurs.  To improve performance, try to write the temporary buffer to the actual output stream instead of serializing the object twice.

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


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