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

RE: Speeding up mod_dav_svn

From: Sander Striker <striker_at_apache.org>
Date: 2003-06-11 14:34:49 CEST

> From: Greg Hudson [mailto:ghudson@MIT.EDU]
> Sent: Tuesday, June 10, 2003 11:18 PM

> On Tue, 2003-06-10 at 17:14, Greg Stein wrote:
> > Lastly, if somebody *does* want to tackle a per-conn FS, then it needs to be
> > keyed by the repository path (and stop and think before you say "key it by
> > the UUID").
> Keying on the UUID is a problem at the moment, since you have to open
> the DB to get at the UUID. (Pity we implemented it that way.)

I disagree with that last comment. The uuid table will prove useful
in the future, I am certain of it.
> Keying on the path won't work well if two paths can point to the same
> repository (through symlinks or some Apache configuration equivalent).

Keying off of r->uri - r->path_info would work (or the dir argument
passed to create_config, which is the same). The only way to screw things
up then is symlinks. Which would be a bad idea to start with.
> We could key on the device/inode of the repository directory, but that's
> a Unix-specific concept. I have no idea what apr_stat() puts into the
> device and inode fields of the apr_finfo_t structure.

Whoa, that's a bit drastic ;)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 11 14:35:40 2003

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.