subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Zhakov <i...@visualsvn.com>
Subject Re: svn commit: r1613854 - in /subversion/branches/authzperf: BRANCH-README subversion/libsvn_repos/authz.c
Date Mon, 28 Jul 2014 10:58:57 GMT
On 28 July 2014 14:52, Branko ─îibej <brane@wandisco.com> wrote:
> On 28.07.2014 12:40, Ivan Zhakov wrote:
>
> On 28 July 2014 02:23,  <stefan2@apache.org> wrote:
>
> Author: stefan2
> Date: Sun Jul 27 22:23:26 2014
> New Revision: 1613854
>
> URL: http://svn.apache.org/r1613854
> Log:
> On the authzperf branch: Very first step towards faster authz.
> Determine the user's aliases and group memberships once and
> then use this to evaluate rules in O(1).
>
> Right now, that information is constructed on the fly for each
> request and used from the existing matching code.  This overhead
> will be eliminated in later commits.  Right now, this is to
> introduce new, reviewable / testable code.
>
> Anyone who want to improve authz performance should consider to
> separate config file parser and config storage. To read authz
> configuration in appropriate custom structure directly and avoid read
> authz file in intermediate svn_config_t.
>
>
> That's on my todo list, as the very last step. The parsing overhead is the
> least of our worries right now.
>
Great! I just wanted to share my ideas on this topic. As far I
remember parsing overhead may be significant for big authz files.

-- 
Ivan Zhakov

Mime
View raw message