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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,773 views 1 5
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