You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/03/02 18:23:04 UTC
[jira] [Resolved] (FELIX-4812) BundleRepository can be quite CPU
intensive when starting a lot of bundles
[ https://issues.apache.org/jira/browse/FELIX-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-4812.
------------------------------------
Resolution: Fixed
Fixed with http://svn.apache.org/viewvc?view=revision&revision=1663370
> BundleRepository can be quite CPU intensive when starting a lot of bundles
> --------------------------------------------------------------------------
>
> Key: FELIX-4812
> URL: https://issues.apache.org/jira/browse/FELIX-4812
> Project: Felix
> Issue Type: Improvement
> Components: Bundle Repository (OBR)
> Affects Versions: bundlerepository-2.0.2
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: bundlerepository-2.0.4
>
>
> The reason is that each time a bundle is modified or a service registered, the whole resource is recreated.
> When OBR local repository is not really used, it can be quite costly.
> A good approach would be to use lazy resources instead of computing the resource upfront, so that the requirements and capabilities are only computed when the resource is actually used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)