[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Opening the repository hooks environment file

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Fri, 29 Mar 2013 00:02:29 +0400

On Thu, Mar 28, 2013 at 10:31 PM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> "Bert Huijben" <bert_at_qqmail.nl> writes:
>
>> The reading of one file for each access to the repository is a more
>> than measurable slowdown when profiling operations. (Reading fsfs.conf
>> over and over again is one of the most expensive things apache worker
>> processes do when I profiled them. I think stefan2 optimized some of
>> this away)
>
> We have already picked up one new file on every access in 1.8: the hooks
> environment file. This appears to be opened and parsed for every time
> mod_dav_svn opens the repository, both read and write operations.
>
> Perhaps we should require an explict config setting to enable the hooks
> file so that we can avoid opening it when it is empty? Or perhaps we
> could make the opening/parsing lazy and delay it until running a hook
> thus avoiding it for read operations?
>
Sorry, it seems I missed something important: what is the hooks
environment file? But I agree that we need explicit mod_dav_svn option
to enable this functionality if this new in svn 1.8.

-- 
Ivan Zhakov
Received on 2013-03-28 21:03:21 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.