[
https://issues.apache.org/jira/browse/OAK-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877419#comment-13877419
]
Alex Parvulescu commented on OAK-1343:
--------------------------------------
Traversed in the context the property index points to a possibly inefficient
index that has a lot of content.
bq. we fixed the weak-reference resolution for the group membership.
We fixed the weak-ref resolution, but in this scenario it looks like the
warning happens when you add a lot of users, so we might still have something
to investigate in this area.
> Performance issue with login()/getGroupMembership() with many users
> -------------------------------------------------------------------
>
> Key: OAK-1343
> URL: https://issues.apache.org/jira/browse/OAK-1343
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.14
> Reporter: Stefan Egli
>
> (Tested with oak-snapshot as of ca 11:59AM, Jan 20, 2014 CET)
> When doing performance tests against oak I run into a major slowdown with
> each request showing the following WARNs:
> {code}
> 21.01.2014 11:42:51.625 *WARN* [FelixStartLevel]
> org.apache.jackrabbit.oak.plugins.index.property.strategy.ContentMirrorStoreStrategy
> Traversed 1000 nodes using index :weakreferen
> ces(294de355-7d9d-30b3-92d8-a1e6aab028cf) with filter Filter(, path=/*)
> ...
> 21.01.2014 11:42:55.345 *WARN* [FelixStartLevel]
> org.apache.jackrabbit.oak.plugins.index.property.strategy.ContentMirrorStoreStrategy
> Traversed 8000 nodes using index :weakreferen
> ces(294de355-7d9d-30b3-92d8-a1e6aab028cf) with filter Filter(, path=/*)
> {code}
> I traced this down to the following call:
> PrincipalProviderImpl.getGroupMembership
> In my performance test I create 1000 test users and it looks like the above
> call is currently very inefficient with that many users. This call happens
> during login(), so on each request you get the WARNs above, and subsequently
> each request is really slow.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)