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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/05/11 16:16:12 UTC
[jira] [Updated] (OAK-4361) Reduce performance impact of
observation ACFilter
[ https://issues.apache.org/jira/browse/OAK-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-4361:
----------------------------------
Attachment: OAK-4361.patch
The attached patch introduces lazy initialization of {{CompiledPermissions}} and {{TreePermission}}. With this change the performance of the two test runs are roughly the same.
> Reduce performance impact of observation ACFilter
> -------------------------------------------------
>
> Key: OAK-4361
> URL: https://issues.apache.org/jira/browse/OAK-4361
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, security
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Fix For: 1.6
>
> Attachments: OAK-4361.patch
>
>
> Observation events are filtered with {{ACFilter}} to enforce access controls. The performance impact of this filter is rather significant for a moderate number of listeners and access control entries, even when changes are done in a subtree the listener is not registered for.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)