[
https://issues.apache.org/jira/browse/WSCOMMONS-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikhil Thaker updated WSCOMMONS-282:
------------------------------------
Attachment: patch.txt
I am working with Tim Hefele who is an IBM Performance team member and Rich
Scheuerle who has been guiding me on changes that are needed in Axiom's
attachment space so we can improve scalability and performance.
According to the performance numbers run by Tim the PartOnMemry's creation of
MIMEBodyPart was expensive. So attached is the patch that will introduce
DynamicPart. DynamicPart creates a PartOnByteArray which removes use of
expensive MIMEBodyPart and work with ByteArrays.
> Performance: Remove the construction of MimeBodyPart from PartOnMemory
> ----------------------------------------------------------------------
>
> Key: WSCOMMONS-282
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-282
> Project: WS-Commons
> Issue Type: Improvement
> Reporter: Rich Scheuerle
> Assignee: Nikhil Thaker
> Attachments: patch.txt
>
>
> Problem:
> PartOnMemory creates a MimeBodyPart to represent the part. This is an
> expensive call.
> PartOnFile never creates a MimeBodyPart.
> Solution:
> Refactor the code to use the same logic for PartOnMemory and PartOnFile so
> that MimeBodyPart creation is avoided.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]