On 28 July 2014 14:52, Branko Čibej <brane_at_wandisco.com> wrote:
> On 28.07.2014 12:40, Ivan Zhakov wrote:
>
> On 28 July 2014 02:23, <stefan2_at_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
Received on 2014-07-28 12:59:45 CEST