Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2258D200B83 for ; Sat, 13 Aug 2016 00:21:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2148E160AB0; Fri, 12 Aug 2016 22:21:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6FDBE160AB6 for ; Sat, 13 Aug 2016 00:21:21 +0200 (CEST) Received: (qmail 9733 invoked by uid 500); 12 Aug 2016 22:21:20 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 9698 invoked by uid 99); 12 Aug 2016 22:21:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2016 22:21:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 76E2E2C02A1 for ; Fri, 12 Aug 2016 22:21:20 +0000 (UTC) Date: Fri, 12 Aug 2016 22:21:20 +0000 (UTC) From: "Wouter Bancken (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (ARIES-1565) Performance Improvement: unpack subsystem artifacts to tmp folder to avoid directly reading from zip archive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 12 Aug 2016 22:21:22 -0000 [ https://issues.apache.org/jira/browse/ARIES-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419596#comment-15419596 ] Wouter Bancken edited comment on ARIES-1565 at 8/12/16 10:21 PM: ----------------------------------------------------------------- [~jwross@us.ibm.com] Good to know there were actual errors and it wasn't an issue on my part. It was my first change to the Aries codebase so I wasn't sure. As for the error, I'd suggest you take the lead on this? We included the change in subsystems to avoid touching utils as you suggested. Avoiding the import package seems possible on first sight but it means we'll be including more code of utils in subsystems and I don't know if that's desirable. was (Author: wouter bancken): [~jwross@us.ibm.com] Good to know there were actual errors and it wasn't an issue on my part. It was my first change to the Aries codebase so I wasn't sure. As for the error, I'd suggest you take the lead on this? We included the change in subsystems to avoid touching utils as you suggested. Avoiding the import package seems possible on first sight but it means we'll be including more of utils in subsystems and I don't know if that's desirable. > 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, Call_Tree_2_0_8.html, Call_Tree_John_Ross.html, Call_Tree_Wouter_Bancken.html, aries1565-profile.png, test-service-subsystem-4.0.2-SNAPSHOT.esa > > > 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)