On Fri, 21 Feb 2014 00:45:38 -0800 (PST)
Matthew Mazzoleni <matthewmazzol...@gmail.com> wrote:

> hi, i need to create two (or more) balanced git server that replicate
> each others.
> i want to balance my servers so they contains the same data. is there
> some guide or link i can see for my needs?

I'm afraid you can't really do that *if* you want true load balancing,
that is when more than one server at a time receives updates -- simply
because it would mean multi-master replication which implies that some
sort of conflict resolution must be in place.  To my knowledge, this
sort of thing does not work with Git (and why should it?) so I'm afraid
no solutions to do that exists (and will supposedly never be).

If you're OK with one server being the master and a set of others being
read-only slaves, then this is quite possible to implement.  Using a
setup of this kind you would have a single master server and multiple
"hot standby servers".  If that's what you want then Thomas pointed you
to the right direction, and I would also suggest reading [1].

1. https://groups.google.com/d/msg/git-users/UieEFgPdjbo/DKdeZ9qWgwYJ

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to