High Availability of hg web server through NFS share
Christophe Furmaniak
christophe.furmaniak.ml at gmail.com
Wed Aug 10 08:36:01 UTC 2011
I will of course consider the option you suggested. But we intend to host
thousands of projects and such an automatic procedure could become painfull
to debug when encountering problems.
Anybody knows how Bitbucket does provide the service for thousands of
projects? I cannot imagine they have a single webserver...
I have other options too:
- I could provide the "high availability" at the server level (who said
virtualization) but I am currently studying other possibilities.
- Another option could be to split the service across several services that
would only serve a smal part of the hosting and use a reverse-proxy to
"unify" the urls. In that case, if I temp lose a webserver, it will only
affect a small part of the projects.
2011/8/10 Martin Geisler <mg at aragost.com>
> Christophe Furmaniak <christophe.furmaniak.ml at gmail.com> writes:
>
> > Hi,
> >
> > I would like to provide high availability of a mercurial "central"
> > repository using several (at least 2) apache web servers + hgweb.cgi
> > that would serve a shared NFS partition.
> >
> > Will it work as expected or may I encounter some kind of locks because
> > of the shared NFS partition?
>
> Like Isaac commented, you wont see optimal performance when using a
> network drive. Have you considered letting each webserver use its own
> local repository and then synchronizing the two (or more) repositories
> with normal 'hg pull' commands?
>
> --
> Martin Geisler
>
> aragost Trifork
> Professional Mercurial support
> http://mercurial.aragost.com/kick-start/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20110810/178b4338/attachment-0002.html>
More information about the Mercurial
mailing list