...making Linux just a little more fun!
Smile Maker [britto_can at yahoo.com]
Folks,
Here is my scenario,
We have a version control repository running on my end and we have the branch offices too.Now people are checking in and out tunneling through firewall to the version control server in my end.
Now my problem is remote users are experiencing slow process when they are doing version control transactions.
We thought of rsyncing the repo to the remote machine.and the users can do the version control operations locally but how do we maintain the consistency of files in all offices ?
Thanks & regards, Britto
Ben Okopnik [ben at linuxgazette.net]
On Tue, Jun 05, 2007 at 11:11:34PM -0700, Smile Maker wrote:
> Folks, > > Here is my scenario, > > We have a version control repository running on my end and we have the > branch offices too.Now people are checking in and out tunneling through > firewall to the version control server in my end. > > Now my problem is remote users are experiencing slow process when they are > doing version control transactions. > > We thought of rsyncing the repo to the remote machine.and the users can > do the version control operations locally but how do we maintain the > consistency of files in all offices ?
Not that this has much to do with Linux, but I'll take a crack at it anyway.
It seems to me that rsyncing the repository to remote hosts would reinstate the same problem that CVS had solved. Wouldn't it be easier to just uninstall CVS and be done with it?
The problem to solve, from what I see above, is the one that's causing the slowdown. You seem to be assuming that it's in the versioning software (it may well be, but you haven't told us anything that indicates that); I would usually suspect the network, and perhaps the firewall. Find out where the latency is occurring, and solve that - then see if there's still a problem.
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * https://LinuxGazette.NET *
René Pfeiffer [lynx at luchs.at]
On Jun 06, 2007 at 1648 -0400, Ben Okopnik appeared and said:
> On Tue, Jun 05, 2007 at 11:11:34PM -0700, Smile Maker wrote: > > We have a version control repository running on my end and we have the > > branch offices too.Now people are checking in and out tunneling through > > firewall to the version control server in my end. > > Now my problem is remote users are experiencing slow process when they are > > doing version control transactions. > > We thought of rsyncing the repo to the remote machine.and the users can > > do the version control operations locally but how do we maintain the > > consistency of files in all offices ? > Not that this has much to do with Linux, but I'll take a crack at it > anyway. > It seems to me that rsyncing the repository to remote hosts would > reinstate the same problem that CVS had solved. Wouldn't it be easier to > just uninstall CVS and be done with it?
Depending on your development model this may even be an option. Linus Torvalds gave a talk about git and his approach to source control management:
https://codicesoftware.blogspot.com/2007/05/linus-torvalds-on-git-and-scm.ht= ml
Apart from that you might consider distributed filesystems. However this doesn't save you from the problem of inconsistencie arising from Internet connections and other sources.
Best, René.