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

Guillaume Nodet commented on FELIX-4812:
----------------------------------------

Proposed patch:
  
https://github.com/gnodet/felix/commit/b9250848064ec58cbd476c863fea7e4e313511d9

> 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)

Reply via email to