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: ACL cache performance
Date Mon, 04 Nov 2013 09:44:13 GMT
hi

thanks for the figures and the effort. btw... this discussion
belong oak dev list and not to the adobe internal list -> moving.

if the global cache doesn't add to much to the performance gain
then i would suggest that we drop it immediately... in jackrabbit the
caching on a global level was the most troublesome part of the
whole permission evaluation and i would definitely want to
avoid running into the same issues again.

i would suggest to change this to an 'everyone' only cache as i
proposed it earlier to you in a private discussion which also
included a first draft of such an everyone-cache.

regards
angela

On 11/1/13 8:43 AM, "Tobias Bocanegra" <tripod@adobe.com> wrote:

>Hi,
>
>I quickly tested the ACL performance again using the ManyUserReadTest.
>The tests consists of reading 10k items from a 120k item repository
>which has an ACL set on every 10th node. Each tests uses a different
>user (1 of 1000) which each is member of 10 groups.
>
>if my tests are accurate, oak shows now the same performance as
>jackrabbit. for admin sessions, it's even faster than jackrabbit. I
>find it still not acceptable, that the non-admin case is 3 times
>slower than the admin case.
>
>it's also of significance, that the global cache does not really gain
>much performance for this test. see the last section of numbers. I
>think that the global ACL cache is only beneficial for some
>principals, like "everyone" that are used for every request. and/or
>only really makes a difference, if the overall ACL evaluation overhead
>is reduced.
>
>Regards, Toby
>
>Executing benchmarks as admin: false on Oak-Tar
>-----------------------------------------------------------
># ManyUserReadTest          ,      C,    min,    10%,    50%,    90%,
>  max,      N
>Oak-Tar                     ,      1,    565,    578,    600,    615,
>  627,     34
>Oak-Tar                     ,      2,    653,    681,    715,    761,
>  798,     56
>Oak-Tar                     ,      4,    822,    989,   1053,   1101,
> 1126,     78
>Oak-Tar                     ,      8,   1509,   1626,   1722,   1798,
> 1893,     96
>Oak-Tar                     ,     10,   1905,   2041,   2175,   2298,
> 2375,    100
>Oak-Tar                     ,     15,   2545,   2850,   3201,   3484,
> 3663,    103
>Oak-Tar                     ,     20,   3519,   3852,   4254,   4737,
> 5251,    100
>Oak-Tar                     ,     50,   2666,   9504,  10450,  11440,
>13050,    104
>Executing benchmarks as admin: false on Jackrabbit
>-----------------------------------------------------------
># ManyUserReadTest          ,      C,    min,    10%,    50%,    90%,
>  max,      N
>Jackrabbit                  ,      1,    455,    495,    539,    625,
> 1148,     36
>Jackrabbit                  ,      2,    507,    512,    575,    841,
> 1264,     62
>Jackrabbit                  ,      4,    768,    789,    861,   1220,
> 1266,     88
>Jackrabbit                  ,      8,   1416,   1516,   1624,   1999,
> 2038,     96
>Jackrabbit                  ,     10,   1764,   1812,   2074,   2796,
> 2859,     90
>Jackrabbit                  ,     15,   3030,   3077,   3611,   3841,
> 3950,     90
>Jackrabbit                  ,     20,   4495,   4683,   4874,   5031,
> 5121,    100
>Jackrabbit                  ,     50,  12219,  12546,  12827,  13232,
>13768,    100
>Executing benchmarks as admin: true on Oak-Tar
>-----------------------------------------------------------
># ManyUserReadTest          ,      C,    min,    10%,    50%,    90%,
>  max,      N
>Oak-Tar                     ,      1,    185,    188,    191,    197,
>  208,    105
>Oak-Tar                     ,      2,    208,    224,    233,    249,
>  277,    172
>Oak-Tar                     ,      4,    264,    321,    345,    365,
>  388,    234
>Oak-Tar                     ,      8,    351,    536,    571,    611,
>  665,    282
>Oak-Tar                     ,     10,    486,    653,    718,    789,
>  855,    282
>Oak-Tar                     ,     15,    502,    920,   1079,   1228,
> 1381,    283
>Oak-Tar                     ,     20,    699,   1197,   1448,   1691,
> 1983,    283
>Oak-Tar                     ,     50,   1624,   2612,   3571,   4507,
> 5523,    300
>Executing benchmarks as admin: true on Jackrabbit
>-----------------------------------------------------------
># ManyUserReadTest          ,      C,    min,    10%,    50%,    90%,
>  max,      N
>Jackrabbit                  ,      1,    267,    269,    281,    307,
>  659,     68
>Jackrabbit                  ,      2,    316,    321,    331,    382,
>  708,    112
>Jackrabbit                  ,      4,    445,    474,    545,    808,
>  834,    136
>Jackrabbit                  ,      8,    818,    886,   1022,   1379,
> 1711,    151
>Jackrabbit                  ,     10,    619,   1155,   1304,   1827,
> 2013,    149
>Jackrabbit                  ,     15,   1554,   1691,   1988,   2608,
> 3079,    157
>Jackrabbit                  ,     20,    896,   1503,   2411,   7234,
> 7738,    140
>Jackrabbit                  ,     50,   1917,   3316,   4772,   6202,
> 7683,    224
>Executing benchmarks as admin: false on Oak-Tar (global cache disabled)
>-----------------------------------------------------------
># ManyUserReadTest          ,      C,    min,    10%,    50%,    90%,
>  max,      N
>Oak-Tar                     ,      1,    572,    584,    599,    612,
>  620,     34
>Oak-Tar                     ,      2,    626,    635,    661,    691,
>  711,     62
>Oak-Tar                     ,      4,    895,    923,    962,   1080,
> 1286,     84
>Oak-Tar                     ,      8,   1550,   1618,   1713,   1883,
> 1991,     96
>Oak-Tar                     ,     10,   1740,   1977,   2161,   2365,
> 2508,     99
>Oak-Tar                     ,     15,   1391,   3061,   3326,   3624,
> 3794,     95
>Oak-Tar                     ,     20,   3587,   3928,   4391,   4962,
> 5326,    100
>Oak-Tar                     ,     50,   4195,   9509,  11084,  12323,
>14200,    103


Mime
View raw message