Re: Multiple clients accessing git over NFS
From: Alex <hidden>
Date: 2016-06-15 22:50:03
Khawaja Shams <kshams <at> usc.edu> writes:
Is it a recommended practice to share a repository over NFS, where multiple clients can be pushing changes simultaneously? In our production environment, we have a Git repository setup behind git-http-backend. We would like to place multiple Apache servers behind a load balancer to maximize availability and performance. Before we proceed, we wanted to check to see if this practice has a potential to cause repository corruption. If there are other ways others have solved this problem, we would be very interested in learning about those as well. Thank you.
Others have commented on the git aspects of this, but FYI there is a handy program here: http://www.unixcoding.org/NFSCoding#NFS_Cache_Tester that tests aspects of your NFS implementation. (Sadly the one we have at work is crap, or at least it was last time I ran the program). Alex