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

0 votes
Accepted answer

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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

426 views 6 9
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