You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2015/04/15 14:13:00 UTC

[jira] [Commented] (OAK-2773) Speed up creation of JCR sessions

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

Michael Dürig commented on OAK-2773:
------------------------------------

Probably a duplicate of OAK-2543?

> Speed up creation of JCR sessions
> ---------------------------------
>
>                 Key: OAK-2773
>                 URL: https://issues.apache.org/jira/browse/OAK-2773
>             Project: Jackrabbit Oak
>          Issue Type: Wish
>          Components: core
>    Affects Versions: 1.0.12, 1.2
>            Reporter: Przemo Pakulski
>              Labels: performance
>
> JCR sessions used to be lightweight objects and fast to create in Jackrabbit2/CRX.
> I noticed that in Oak creation of session is significantly more expensive. On my environment creating Oak sessions is ~10 times slower than in crx2.
> The most of the time is spent in PrincipalProviderImpl class which executes many queries.
> Possible solutions are:
> * introduce MembershipCache as it was in Jackrabbit2
> * speed up the queries, actually the queries itself are pretty fast, calculation of execution plans is heavy and adds much overhead
> * both



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