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

Re: subversion on a shared host?

From: David Ripton <dripton_at_ripton.net>
Date: 2004-12-07 04:48:10 CET

On 2004.12.05 16:04:14 +0000, John DuQuette wrote:
> Hello. We have a small PHP project with only three (3)
> developers and are looking into Version Control. We do not have our
> own dedicated server, we use a shared server, a shared host (at
> rochen.com). Are there any problems installing Subversion on a shared
> host server? I asked on the forum for host if anyone had any
> experience and one person suggested that running Subversion or
> something like it would consume a lot of "system resources" (CPU,
> RAM, etc) and not be appropriate on a shared server. Someone from the
> host company (rochen) said they wouldn't stop us but if it consumed
> too much CPU etc. they would then stop us.
> So my question: Are there any problems or concerns with using
> Subversion on a shared server? Is it a bad idea?

IMX most shared servers use NFS home directories, and bsddb doesn't
work on NFS mounts. So you probably have to use fsfs, which means you
need svn 1.1+.

Otherwise, if you have ssh access for yourself and your co-developers,
and enough disk space, you should be able to get SVN working in svn+ssh
mode. http access will only be doable if your host runs Apache 2 and
gives you a lot of latitude in configuring it, or if they let you run
your own persistent servers, both of which are unusual. (IMO the best
way to do shared hosting is to slice a big box into lots of nearly-
independent virtual machines and give each user virtual root, using
something like BSD jail or User-Mode Linux and resource quotas to keep
them from interfering with one another, but such services are still
in the minority.)

SVN seems pretty frugal with resources if you're working with small
amounts of data and traffic -- I run a small repository on a bitty little
Celeron 366 with 64 MB, without problems. Though there's no guarantee
you won't do something someday that hogs the CPU or memory and gets
you kicked off. It's probably easier to just use a dedicated SVN hosting
site if that's an option. (Plug: I'm a happy user of svnhosting.org.)

David Ripton    dripton@ripton.net
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 7 04:50:20 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.