On 28.07.2014 12:40, Ivan Zhakov wrote: > On 28 July 2014 02:23, <stef...@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. -- Brane -- Branko Čibej | Director of Subversion WANdisco | Realising the impossibilities of Big Data e. br...@wandisco.com