You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joel Richard (JIRA)" <ji...@apache.org> on 2015/10/22 10:17:27 UTC

[jira] [Commented] (SLING-4585) Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource

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

Joel Richard commented on SLING-4585:
-------------------------------------

Unfortunately, I have forgotten to increment the API version of the Jackrabbit API which is why we have to wait another release cycle to get this change in (see JCR-3919).

The good news is that this change will likely be more effective than anticipated for non-admin users because of the ACL overhead which can be reduced (especially GlobPattern.WildcardPattern in Oak).

> Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource
> -----------------------------------------------------------------------------------------------
>
>                 Key: SLING-4585
>                 URL: https://issues.apache.org/jira/browse/SLING-4585
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR, ResourceResolver
>    Affects Versions: JCR Resource 2.5.0
>            Reporter: Joel Richard
>            Priority: Critical
>              Labels: performance
>         Attachments: 0001-SLING-4585-Performance-Use-JackrabbitSession-getItem.patch
>
>
> If the current session is a JackrabbitSession, JcrResourceProvider should use getItemOrNull (as soon as exported) to save rendering time.
> See referenced issue and the following mail thread for more information: http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E



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