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 "Karolin Varner (Jira)" <ji...@apache.org> on 2022/02/17 13:47:00 UTC
[jira] [Commented] (OAK-9518) Investigate reducing NodeStore access for permissions defined in immutable mounts
[ https://issues.apache.org/jira/browse/OAK-9518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493948#comment-17493948 ]
Karolin Varner commented on OAK-9518:
-------------------------------------
[~angela] According to my benchmark results, this optimization yields a performance improvement of between 10% and 30% in the ConcurrentWriteACLTest at 10000 immutable nodes and 2 ACL entries for each immutable nodes.
ConcurrentWriteACLTest operates on just 200 nodes, 2 permission ACL entries each, so in this setup there is 50 times more data in the immutable mount than in the mutable one.
{noformat}
ConcurrentWriteACLTest C min 10% 50% 90% max N mean
baseline 4 27492 52819 82264 108214 108241 18 84759
optimized 4 1223 20899 75379 94061 95037 22 69915
22.48 2.53 1.09 1.15 1.14 0.82 1.21
baseline 4 116 36535 93947 110638 117330 58 85973
optimized 4 2954 29106 73578 87212 96267 73 66689
0.04 1.26 1.28 1.27 1.22 0.79 1.29
baseline 4 6273 39804 79862 92698 102951 66 74155
optimized 4 148 24056 74226 85155 100008 72 67687\{noformat}
> Investigate reducing NodeStore access for permissions defined in immutable mounts
> ---------------------------------------------------------------------------------
>
> Key: OAK-9518
> URL: https://issues.apache.org/jira/browse/OAK-9518
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, security
> Reporter: Angela Schreiber
> Assignee: Angela Schreiber
> Priority: Major
>
> when running oak with additional immutable mounts, the permission provider will come with a composite {{MountPermissionStore}} that loads entries from the different mount points.
> while for the mutable default mount reading the latest permission data from the {{NodeStore}} is required whenever the cache gets invalidated, this is probably not needed for immutable mounts.
> the goal of the this improvement is to investigate if and under which circumstances repeated reads for the immutable mounts can/should be prevented and measure the impact on overall performance. this includes taking potentially huge amounts of permission entries into account and define boundaries in case such an improvement was beneficial for mounts with relatively few permissions.
> cc: [~rma61870@adobe.com]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)