jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1138) Implement global per principal permission entry cache
Date Fri, 01 Nov 2013 00:41:18 GMT

    [ 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

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

View raw message