Przemo Pakulski created OAK-2773:
------------------------------------

             Summary: Speedup creation of JCR session
                 Key: OAK-2773
                 URL: https://issues.apache.org/jira/browse/OAK-2773
             Project: Jackrabbit Oak
          Issue Type: Wish
          Components: core
    Affects Versions: 1.2, 1.0.12
            Reporter: Przemo Pakulski


JCR sessions used to be lightweight objects and chip 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)

Reply via email to