Should Stash and Git be on the same server?

Hi:

I am setting up Stash and Git and I'm new to both technologies. I am wondering if my Stash application and my git repositories should reside on the same server. I know they don't have to be on the same server and I'm guessing that it's probably easiest to manage when they are separate. Git repositories will potentially be on many different servers and can grow in numbers and size in a less predictable manor than the Stash application. I'm just wondering if there is anything I should keep in mind when setting this up? Are there any best practices related to some of the repositories being on the stash server itself? Thanks!

-Maggie

1 answer

1 accepted

This widget could not be displayed.

If you put your repositories on a different server, Stash will always need to go through the network to access them when somebody pushes/pulls/clones anything, so performance will be lower.

=> You should have the repositories on the server (can be a different drive), unless you have some special reason for having them on a different machine.

Having your Stash and Git repositories on the same server is a good place to start. If/when you run into space or performance concerns then you can re-evaluate at that point. You might be interested some of our documentation on High Availability:

https://confluence.atlassian.com/display/STASH/High+availability+for+Stash

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,362 views 9 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you