How to configure "git cluster"

We are thinking of changing our original version control system from Subversion to Git. We limit our current setup and believe that we are better off working with Git.

We always used the primary server in the office and the mirror working in our data center. The mirror is configured to proxy incoming commits to the primary server. Thus, both machines worked as if it were the only repository that allows us to make transactions with the office machine when we are in the office or on the data center machine, when we are somewhere else.

Having two machines provides us with high throughput and increases speed, which is important for us because we use subversion as our main deployment tool.

We recently acquired a development store in India and they will work on the same code. Due to bandwidth limitations and latency issues, having a mirror in India would be very convenient.

When we switch to Git, we look for a similar setting. How can I make multiple git repositories as one? Ideally, I would like the relay to automatically propagate to other servers for the same repository.

+5
source share
1 answer

Delay will not be a problem for you, because you will commit locally. You may not need to do anything. However, shocks and traction can slow down. If this bothers you, there are many things you can do.

github "" , ( ), ( ) .

github post-receive hook gitmirror, . github. - , , .

+1

All Articles