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

Re: mod_authz_svn & MySQL db - possible contract

From: John Peacock <jpeacock_at_rowman.com>
Date: 2006-09-21 21:02:51 CEST

Jay Crouch wrote:
> -- Ok, here's what I don't understand... in the mod_perl approach, wouldn't
> the mod query the database only once - during startup, and load all the
> configuration into memory -- and as Ionel (and I) have said in the past,
> wouldn't this amount of configuration be slow and take up a tremendous
> amount of ram?

I don't know how big the RAM footprint would be, but basically you are
correct that this would be significant. It would be comparable to
maintaining thousands of VirtualHost identities (which some sites do
regularly, see SF.net).

> -- Secondly, how does mod_rewrite or mod_alias help? The URL's don't need to
> change - it's the path to the repositories and arguments to mod_authz_svn
> that need to be dynamic...

I was saying that only mod_rewrite and mod_alias appear to support
substituting with the regex, and then only to that single line. The
more I look at it, the more it seems like you are going to have to make
a custom mod that combines PCRE with a new container context (much like
what LocationMatch provides, but with the ability to substitute anywhere
inside the context). You've officially run past my comfort level with
the Apache API... ;-)

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 21 21:02:49 2006

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.