[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: Jay Crouch <jay_at_thesafestream.com>
Date: 2006-09-21 20:51:28 CEST

Ionel GARDAIS wrote:
> I think the question was : even with a plain text file, isn't a 10000's
> entry configuration file is a bit huge to parse ?

John Peacock wrote:
> Yes, but that isn't what was suggested. You could use mod_perl to loop
> over a database of thousands of records and create the appropriate
> configuration, in memory, for Apache to serve up.

> The LocationMatch method seems like it would be nicer, but I suspect
> that mod_rewrite or mod_alias (see AliasMatch) would have to be used to
> actually rewrite the URL's (I don't see any evidence that the regex in
> LocationMatch can be substituted).

-- 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?

Or does the mod_perl approach do the opposite: querying the database on each
request, thus reducing the number of configurations needing to be processed
per request?

-- 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...

Thanks, Jay

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 21 20:51:51 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.