Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What are the hardware requirements for setting up a Smart Mirror for Bitbucket Cloud ?

Mahesh Khambadkone June 5, 2017

We host Unity projects on bitbucket Cloud, using GitLFS.  A typical project is about 5-8GB in size.

Cloning projects locally take time, so we're keen to use Smart Mirror for Bitbucket Cloud.

At any point in time, we have at least 9 unique projects running, and about 20 unique individuals may access the repository, pushing code twice or thrice a day.

What are the recommended hardware requirements for setting up the Smart Mirror?

Where is the 'GitLFS' content replicated to in a SmartMirror environment ?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 6, 2017

Hi Makesh! You can find the requirements at Install Bitbucket Server on the mirror.

Mirrors are copies of a primary Bitbucket instance. Uploaded Git LFS objects are stored in the directory $BITBUCKET_HOME/shared/data/git-lfs/storage. This storage location cannot be changed, as for clustered deployments it is critical that LFS object storage reside on the shared filesystem so it is globally visible to all cluster nodes.

For more info you can visit Smart mirroring for Bitbucket Cloud.

Hope this helps :)

Ana

Mahesh Khambadkone June 7, 2017

Thank you.  Therefore, the rules of thumb would be :

1) CPU 

Estimate the number of concurrent clones that are expected to happen regularly (look at continuous integration). Add one CPU for every 2 concurrent clone operations. 

2) RAM

Estimate or calculate the average repository size and allocate 1.5 x number of concurrent clone operations x min(repository size, 700MB) of memory.

3) File Storage

Size of repositories + 

(for Database): 100 + ((total number of commits across all repos) / 2500) MB.

+ Storage for GitLFS (?)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events