You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "John Ross (JIRA)" <ji...@apache.org> on 2015/08/25 03:17:45 UTC

[jira] [Commented] (ARIES-1357) BasicSubsystem can be used by the subsystem install process a factor 6 times faster

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

John Ross commented on ARIES-1357:
----------------------------------

If I understand the scenario correctly, you did the following.

(1) Installed and started 200+ subsystems.
(2) Subsequently installed one additional subsystem which took more than a minute.
(3) After making the changes in this patch, and only those changes, the installation of that one additional subsystem took 10 seconds.

I don't see how the operations affected by this patch would be influenced by the existence of 200+ ACTIVE subsystems since they deal with only one subsystem's manifest data. Do I have the scenario right? I can believe that the optimization in ARIES-1359, given that your use case apparently means that most of those 200+ subsystems are features with shared bundles, would have had such an impact. Did this trial include the contents of the patch from ARIES-1359, and possibly also ARIES-1356, or was it isolated to only the changes in this patch?

> BasicSubsystem can be used by the subsystem install process a factor 6 times faster
> -----------------------------------------------------------------------------------
>
>                 Key: ARIES-1357
>                 URL: https://issues.apache.org/jira/browse/ARIES-1357
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem
>    Affects Versions: subsystem-core-1.2.0, subsystem-2.0.1
>         Environment: linux windows java
>            Reporter: Bas
>              Labels: patch, performance
>             Fix For: subsystem-core-1.2.0, subsystem-2.0.1
>
>         Attachments: subsystem-basicsubsystem-patch.txt
>
>
> The problem was poor performance while installing a subsystem on a container with 200+ subsystems installed.
> While doing performance analyses on the subsystem install process we noticed the BasicSubsystem is working a lot with its manifest instead of pre-calculating data that is used a lot.
> While using the pre-patch version of BasicSubsystem a subsystem install (while having 200+ running subsystems) could take more than a minute. While using the patched version where we pre-calculate highly used data when a new subsystem manifest or deployment manifest is set we could bring it down to 10 seconds. We only pre-calculated the data that was highly used.



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