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

Re: Local repository access / AFS?

From: Michael Sperber [Mr. Preprocessor] <sperber_at_informatik.uni-tuebingen.de>
Date: 2002-09-25 17:05:44 CEST

>>>>> "Greg" == Greg Hudson <ghudson@MIT.EDU> writes:

Greg> On Wed, 2002-09-25 at 03:11, Markus Mårtensson wrote:
>> Would it be safe to assume that multiple users could access a
>> repository database at the same time on a distributed filesystem?

Greg> That depends on what kind of locking Berkeley DB uses. AFS supports
Greg> advisory locks, but not range locks. Unfortunately, it looks like
Greg> Berkeley DB might use range locks based on a quick inspection of the
Greg> code; I can't be sure.

Greg> There is also an efficiency question; AFS isn't really designed for
Greg> one-huge-file-with-many-accessors. Its 64K chunking would probably make
Greg> a single accessor be reasonably efficient, but it may be that making one
Greg> change anywhere in the file will invalidate the cache of anyone
Greg> accessing any part of the file, which is no good.

Even if you would access the repository only through Apache, having it
in AFS would be a big win because of AFS's excellent backup facility.
I currently have the SVN repo in a local filesystem, and a cron job
periodically dumps it to AFS from whence the backup runs.

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 25 17:06:52 2002

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.