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.

On this page:

 

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

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

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

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

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

例えば、内部 Stash インスタンスから収集されたデータは、およそ  50  名の開発者のチーム、関連する連続統合インフラストラクチャを示し、 30   の同時複製操作のピーク並行処理と  2の同時複製操作の手段が表示されます。同様の使用パターンを持つ顧客では、 1000   名のユーザーを  40   コア、RAM のサポート量のマシン上でサポート可能であろうと控えめに予測します。40より大きいピーク並行処理が予測されますが、Stash はサーバーの過負荷を防ぐため、受信リクエストをキューに入れるよう設計されています。

Please see Scaling Stash for more information about Stash performance and hardware requirements.

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 のアップグレード
バックアップとリカバリ
ログ