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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/11/01 01:41:18 UTC

[jira] [Commented] (OAK-1138) Implement global per principal permission entry cache

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

Jukka Zitting commented on OAK-1138:
------------------------------------

What specific operations would such a cache help optimize? Is there no other way to speed them up, or avoid entirely?

Note that with all caches come with the extra overhead and complexity of maintaining them, so Ideally we'd have as few caches as possible. And the caches that we do have should be clearly justified.

In most cases where caches have been suggested so far we've been able to achieve significant order-of-magnitude performance improvements just by refactoring code to avoid unnecessary content lookups. Would something like that be possible here as well?

> Implement global per principal permission entry cache
> -----------------------------------------------------
>
>                 Key: OAK-1138
>                 URL: https://issues.apache.org/jira/browse/OAK-1138
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 0.10
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>            Priority: Minor
>
> In order to speedup ACL evaluation, we need some sort of cache that can hold the pre-computed access control permission entries.



--
This message was sent by Atlassian JIRA
(v6.1#6144)