You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/11/16 18:42:43 UTC

[jira] Created: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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: Rich Scheuerle


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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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

Nikhil Thaker resolved WSCOMMONS-282.
-------------------------------------

    Resolution: Fixed

Commited PartOnByteArray.java with organized imports.

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Closed: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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

Nikhil Thaker closed WSCOMMONS-282.
-----------------------------------


> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Assigned: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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

Rich Scheuerle reassigned WSCOMMONS-282:
----------------------------------------

    Assignee: Nikhil Thaker  (was: Rich Scheuerle)

> 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
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Reopened: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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

Nikhil Thaker reopened WSCOMMONS-282:
-------------------------------------


Reopening JIRA as commited code had bad imports.

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Closed: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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

Nikhil Thaker closed WSCOMMONS-282.
-----------------------------------


New commited Revision 602965

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Updated: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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

Nikhil Thaker resolved WSCOMMONS-282.
-------------------------------------

    Resolution: Fixed

Commited attached patch with revision 602962.

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Work started: (WSCOMMONS-282) Performance: Remove the construction of MimeBodyPart from PartOnMemory

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

Work on WSCOMMONS-282 started by Nikhil Thaker.

> 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
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org