[jira] [Commented] (ARIES-1612) Zip input stream relies on default (non buffered) InputStream read
[ https://issues.apache.org/jira/browse/ARIES-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053929#comment-16053929 ] ASF GitHub Bot commented on ARIES-1612: --- Github user asfgit closed the pull request at: https://github.com/apache/aries/pull/55 > Zip input stream relies on default (non buffered) InputStream read > -- > > Key: ARIES-1612 > URL: https://issues.apache.org/jira/browse/ARIES-1612 > Project: Aries > Issue Type: Bug > Components: Util >Affects Versions: util-1.1.1 >Reporter: Paul Thevenot >Assignee: Thomas Watson > Fix For: util-1.1.2 > > > We have performances issues on application startup. It takes a while to > install all the bundles of a subsystem. After a quick look with JProfiler, we > saw that the SpecialZipInputStream.read() was invoked 44 millions times > during startup. > We're using the Felix framework and the BundleCache.copyStreamToFile calls > the method read(byte[] b) from the InputStream. Unfortunately, the method > read(byte[] b) and read(byte[] b, int off, int len) are not overriden by the > SpecialZipInputStream (thus we don't buffer the read). > Completing the decoration in the SpecialZipInputStream solved this problem > and divided the startup time by two. > I've made the pull request with the requested change > https://github.com/apache/aries/pull/55 -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ARIES-1612) Zip input stream relies on default (non buffered) InputStream read
[ https://issues.apache.org/jira/browse/ARIES-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15546356#comment-15546356 ] Wouter Bancken commented on ARIES-1612: --- [~bosschaert] You did the previous release of Aries Util. Can you do a new release which includes this fix? > Zip input stream relies on default (non buffered) InputStream read > -- > > Key: ARIES-1612 > URL: https://issues.apache.org/jira/browse/ARIES-1612 > Project: Aries > Issue Type: Bug > Components: Util >Affects Versions: util-1.1.1 >Reporter: Paul Thevenot >Assignee: Thomas Watson > Fix For: util-1.1.2 > > > We have performances issues on application startup. It takes a while to > install all the bundles of a subsystem. After a quick look with JProfiler, we > saw that the SpecialZipInputStream.read() was invoked 44 millions times > during startup. > We're using the Felix framework and the BundleCache.copyStreamToFile calls > the method read(byte[] b) from the InputStream. Unfortunately, the method > read(byte[] b) and read(byte[] b, int off, int len) are not overriden by the > SpecialZipInputStream (thus we don't buffer the read). > Completing the decoration in the SpecialZipInputStream solved this problem > and divided the startup time by two. > I've made the pull request with the requested change > https://github.com/apache/aries/pull/55 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ARIES-1612) Zip input stream relies on default (non buffered) InputStream read
[ https://issues.apache.org/jira/browse/ARIES-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15536228#comment-15536228 ] Lieven Doclo commented on ARIES-1612: - Hi [~jwr...@us.ibm.com], could you give us an ETA on when 1.1.2 will be made available? This would enormously help our day-to-day operations. > Zip input stream relies on default (non buffered) InputStream read > -- > > Key: ARIES-1612 > URL: https://issues.apache.org/jira/browse/ARIES-1612 > Project: Aries > Issue Type: Bug > Components: Util >Affects Versions: util-1.1.1 >Reporter: Paul Thevenot >Assignee: Thomas Watson > Fix For: util-1.1.2 > > > We have performances issues on application startup. It takes a while to > install all the bundles of a subsystem. After a quick look with JProfiler, we > saw that the SpecialZipInputStream.read() was invoked 44 millions times > during startup. > We're using the Felix framework and the BundleCache.copyStreamToFile calls > the method read(byte[] b) from the InputStream. Unfortunately, the method > read(byte[] b) and read(byte[] b, int off, int len) are not overriden by the > SpecialZipInputStream (thus we don't buffer the read). > Completing the decoration in the SpecialZipInputStream solved this problem > and divided the startup time by two. > I've made the pull request with the requested change > https://github.com/apache/aries/pull/55 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ARIES-1612) Zip input stream relies on default (non buffered) InputStream read
[ https://issues.apache.org/jira/browse/ARIES-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15509254#comment-15509254 ] Tom De Wolf commented on ARIES-1612: [~jwr...@us.ibm.com] are you also able to create a new aries util release? or point us to the person who can? > Zip input stream relies on default (non buffered) InputStream read > -- > > Key: ARIES-1612 > URL: https://issues.apache.org/jira/browse/ARIES-1612 > Project: Aries > Issue Type: Bug > Components: Util >Affects Versions: util-1.1.1 >Reporter: Paul Thevenot >Assignee: Thomas Watson > Fix For: util-1.1.2 > > > We have performances issues on application startup. It takes a while to > install all the bundles of a subsystem. After a quick look with JProfiler, we > saw that the SpecialZipInputStream.read() was invoked 44 millions times > during startup. > We're using the Felix framework and the BundleCache.copyStreamToFile calls > the method read(byte[] b) from the InputStream. Unfortunately, the method > read(byte[] b) and read(byte[] b, int off, int len) are not overriden by the > SpecialZipInputStream (thus we don't buffer the read). > Completing the decoration in the SpecialZipInputStream solved this problem > and divided the startup time by two. > I've made the pull request with the requested change > https://github.com/apache/aries/pull/55 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ARIES-1612) Zip input stream relies on default (non buffered) InputStream read
[ https://issues.apache.org/jira/browse/ARIES-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487642#comment-15487642 ] Wouter Bancken commented on ARIES-1612: --- The PR for this issue provides a solution for the performance issues indicated in ARIES-1565. Additionally this only touches Aries Util in a non-breaking way which means it can be used with Aries 2.0.8. Please include this in util asap > Zip input stream relies on default (non buffered) InputStream read > -- > > Key: ARIES-1612 > URL: https://issues.apache.org/jira/browse/ARIES-1612 > Project: Aries > Issue Type: Bug > Components: Util >Affects Versions: util-1.1.1 >Reporter: Paul Thevenot > > We have performances issues on application startup. It takes a while to > install all the bundles of a subsystem. After a quick look with JProfiler, we > saw that the SpecialZipInputStream.read() was invoked 44 millions times > during startup. > We're using the Felix framework and the BundleCache.copyStreamToFile calls > the method read(byte[] b) from the InputStream. Unfortunately, the method > read(byte[] b) and read(byte[] b, int off, int len) are not overriden by the > SpecialZipInputStream (thus we don't buffer the read). > Completing the decoration in the SpecialZipInputStream solved this problem > and divided the startup time by two. > I've made the pull request with the requested change > https://github.com/apache/aries/pull/55 -- This message was sent by Atlassian JIRA (v6.3.4#6332)