Should Stash and Git be on the same server?


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!


1 answer

1 accepted

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:



Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,889 views 26 12
Join discussion

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