Atlassian Stash is the Git code management solution for enterprise teams. It allows everyone in your organisation to easily collaborate on your Git repositories, while providing enterprise-grade support for:

This page describes best practice for using Stash in enterprise environments, that is with 500+ user licenses. Of course, much of this information is also applicable to other Stash installations.

このページの内容

Stash をホストするためのプラットフォーム要件

Stash は Windows、Linux および Mac システム上で実行できますが、エンタープライズ用には Linux のみを推奨し、サポートしています。この推奨は、Stash を使用した当社独自のテストや経験に基づいています。

See the Supported platforms page for details of the supported versions of Java, external databases, web browsers and Git.

Stash に関するパフォーマンスの考慮事項

一般的に、Stash は非常に安定性が高く、メモリ消費量が低い製品です。Git ホスト操作 (特に複製) 以外、スケーラビリティの制限はありません。当社ではこれが製品のスケーラビリティの制限であると把握しています。制限は、システムのコアの数に比例します。

As an example, data collected from an internal Stash instance indicate that for a team of approximately 50 developers, with associated continuous integration infrastructure, we see a peak concurrency of 30 simultaneous clone operations and a mean of 2 simultaneous clone operations. We conservatively expect that a customer with similar usage patterns would be capable of supporting 1000 users on a machine with 40 cores and a supporting amount of RAM. While we expect a peak concurrency larger than 40, Stash is designed to queue incoming requests so as to avoid overwhelming the server. See Stash production server data for data from the Stash production instance we run internally at Atlassian.

See Scaling Stash for more information about Stash performance and hardware requirements.

See Scaling Stash for Continuous Integration performance for information specific to Stash performance when CI tools poll Stash for changes.

Stash を使用した高可用性

If Stash is a critical part of your development workflow, maximizing Stash availability becomes an important consideration. Please see High availability for Stash for the background information you need to set up Stash in a highly available configuration. 

Setting up Stash in a production environment

Stash を本番環境またはエンタープライズ環境でセットアップするときは、以下の項目の設定を強く推奨します:

Stash を専用ユーザーとして実行する
Stash をサービスとしてインストールする
外部データベースを使用する
既存のユーザーディレクトリへ接続する
Stash ホームディレクトリを保護する
Stash を HTTPS で保護する
Git リポジトリへの SSH アクセスを有効にする
Stash へのコンテキストパスを変更する

本番環境で Stash を管理する

Stash のアップグレード
バックアップとリカバリ
ログ