Re: Subversion and TortoiseSVN
- From: David Brown <david@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 10 Aug 2006 08:33:16 +0200
Andy Peters wrote:
VxWorksNovice wrote:
The only negative is it can be quite slow when there are a large number of
files in your repository. I am using the 'native file system' for the
repository rather than the 'database' option, and suspect this is the cause.
There were some warnings about using the database on network shares, so I
kept to the native file system to be safe.
The biggest positive is the ease with which it is installed and maintained.
We are not using an SVN server at all, and am not sure why you would ever
want to unless you want to use a WEB browser to view the repository. We
just have Tortoise client installations. Although the server package is
installed on one machine this is just to get access to the backup utility
(hotcopy), the server itself is not running.
Most users don't report significant slowdowns as the repository grows.
Perhaps it's the file-system access you're using, instead of the
server?
According to the subversion website, the database backend can be faster at finding the latest version of the repository when you have very large numbers of versions saved - I think this is a minor issue. Other than that, if you have a large repository, you will get a large number of files in each directory. Different file systems are better or worse in such cases. For example, FAT32 can get very slow when you have lots of files in a directory (it's not ordered, so the search is linear), as can ext2 on linux, while NTFS is better and reiserfs is virtually unaffected by the number of files in the directory.
Almost nobody uses the file:/// option (which is what you're using if
you're not using either of the server options). One Real Good
Argument in favor of a server option (either the simpler svnserve or
the more-flexible server using apache) is that you don't have to mount
the repository drive on every user's machine (which is generally a
security no-no). When using the file:/// access, each user has to
have permission to write to the server files and it's easy to screw
things up. Using svnserve or apache, only one "user" (usually
svnowner) has write access to the repository. In other words, users
interact with the server and only the server is allowed to actually
update the repository.
Agreed - while your svn client software might not corrupt the database accessible as a file share, other software (or the user) on the client PC could do so accidentally. It's fine for a small (single machine) svn setup, but for anything more, it is best to coordinate through an svn server.
Also, the server mechanisms allow the admin person to set up.
permissions regarding what users are allowed to commit changes to the
repo and who's allowed to only view it.
-a
- Follow-Ups:
- Re: Subversion and TortoiseSVN
- From: Richard Phillips
- Re: Subversion and TortoiseSVN
- References:
- Subversion and TortoiseSVN
- From: Richard Phillips
- Re: Subversion and TortoiseSVN
- From: VxWorksNovice
- Re: Subversion and TortoiseSVN
- From: Andy Peters
- Subversion and TortoiseSVN
- Prev by Date: Re: PIC versus AVR
- Next by Date: Re: Software issue numbers
- Previous by thread: Re: Subversion and TortoiseSVN
- Next by thread: Re: Subversion and TortoiseSVN
- Index(es):
Relevant Pages
|
Loading