jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Re: Optimizations in and around SecureNodeBuilder
Date Mon, 04 Nov 2013 09:02:18 GMT
hi jukka

that's great... that's for the effort.

one related thing that i planned to look at soon: can't we drop the
SecurityContext altogether in favour of the TreePermission? as far
as i can see there is no real functionality left on the SecurityContext
that would justify that extra wrapper. wdyt?

kind regards
angela 

On 11/1/13 9:28 PM, "Jukka Zitting" <jukka.zitting@gmail.com> wrote:

>Hi,
>
>I spent this afternoon looking at SecureNodeBuilder with the goal to
>fix potential bugs and reduce the amount of duplicate work that's
>going on.
>
>I explicitly avoided touching the actual permission evaluation as
>Angela and Toby are already working on it, but I was still able to
>identify and fix a number of issues. See issues from OAK-1139 to
>OAK-1142 for details.
>
>The result of these changes is a nice performance boost. We're still
>slower than Jackrabbit 2.x for the GetNodeWithAnonymous benchmark, but
>the performance difference has dropped from 3x to just above 2x.
>
># GetNodeWithAnonymous             C     min     10%     50%     90%
>  max       N
>Oak-Tar (before)                   1      58      59      60      61
>  100     991
>Oak-Tar (after)                    1      42      42      43      45
>  130    1372
>Jackrabbit                         1      18      19      19      20
>   39    3087
>
>BR,
>
>Jukka Zitting


Mime
View raw message