Description
Hi,
Our team is in a similar setup as this post #5 (comment)
We are running our CI using gitlab runner and we need to shave down the time it takes to clone our somewhat large repository. Every single job in our CI currently needs to clone the same repo, and we were hoping to use git-cache-http-server to help cut down this clone time. One issue we noticed though is when there are multiple jobs slamming the server at the same time trying to request for the same repo clone is that the time it takes to complete the download increases linearly to the number of requests that come in at the same time.
So for example, I ran a job that only submits 1 clone request. It completed in ~45s.
I ran a job that submits 6 clone requests all at once, and all the clones completed in roughly ~2m 40s.
I ran a job that submits 9 clone requests all at once, and all the clones completed in roughly ~3m 40s.
Would you happen to have any ideas on what I can look into to resolve this issue?