We have a use case where we created 300 users under one root-node as
follows:
1. Each user has 2 sub nodes with default acls (that particular user has
jcr:all to user node)
2. We have added an acl at root-node, to grant the read access to a one
custom group(user-administrator) .
We ran following test cases:
1. The GET request for reading all the user and its 2 sub node using
admin session return in 500 ms.
2. The same GET request from a member of user-administrator group took
12 secs.
- If this user make same request again then it return in 500 ms.
3. After some random request if this user again make the same call then
it again takes 12 sec.
The difference in 1st and 2nd request can be attributed to the ACL
bypassing for the admin user.
Since request-3 again took 12 sec, so there may be a case of acl cache
being getting override.
We have 2 questions here:
1. Reading 300 users + 300*2 sub nodes taking 12 seconds seems too long
even if ACL cache was empty
2. Can we increase the ACL cache size.
Thanks
Himanshu