[ 
https://issues.apache.org/jira/browse/ARIES-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329595#comment-15329595
 ] 

Wouter Bancken commented on ARIES-1565:
---------------------------------------

[[email protected]]
We totally understand the hesitation to adapt utils and we also understand 
embedding this in Subsystems itself might not be the optimal approach. We did 
the pull request like this as a suggestion for improvement (since it is a major 
improvement in startup time). Where the change would reside in the code should 
be determined by the Aries community :)

The technical issues seem manageable. Including a wrapping object which does a 
recursive delete of a folder should solve the deletion. The code can be 
slightly rewritten to support java 1.6.

I added an ESA file to the issue which you can you to profile some data. 

My results for the installation phase:
- Aries 2.0.8: 10 seconds
- Your suggestion: 10 seconds
- Our suggestion: 3 seconds

I also added some call stacks to the issue. The times in those stacks are of 
course higher due to the profiling. 

> Performance Improvement: unpack subsystem artifacts to tmp folder to avoid 
> directly reading from zip archive
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1565
>                 URL: https://issues.apache.org/jira/browse/ARIES-1565
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem, Util
>    Affects Versions: subsystem-2.0.8, util-1.1.2
>            Reporter: Wouter Bancken
>         Attachments: 1565.patch
>
>
> h4. Description
> Aries copies ESA archives to a temporary zip file during the installation 
> phase. Afterwards, bundles are read directly from this temporary zip which 
> has a large impact on the startup performance of Aries applications. By 
> unpacking the esa artifact into the temporary folder it is unpacked only 
> once. Subsequent reads for the bundles (jars) can be read directly from the 
> folder. 
> h4. Pull request
> https://github.com/apache/aries/compare/subsystem-2.0.x...WouterBanckenACA:io_performance_optimalisation?expand=1
> h4. Mailinglist
> http://mail-archives.apache.org/mod_mbox/aries-user/201606.mbox/%3CCAL5nZgTq5FxDvURJbzcEZ9YHx6vTs3HAOuFYDYA3ec9OZbmwjA%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to