This documentation is for a release that is no longer maintained
See documentation for the latest supported version.第8章 動的プラグインでの Redis Cache の使用
Redis キャッシュストアを使用すると、RHDH のパフォーマンスと信頼性を向上できます。RHDH のプラグインは、Keyv を利用した専用のキャッシュ接続を受け取ります。
8.1. Red Hat Developer Hub への Redis Cache のインストール
前提条件
- Operator または Helm チャートのいずれかを使用して Red Hat Developer Hub をインストールしている。
-
アクティブな Redis サーバーがある。外部 Redis サーバーの設定の詳細は、
Redis の公式ドキュメント
を参照してください。
手順
app-config.yaml
ファイルに次のコードを追加します。
backend: cache: store: redis connection: redis://user:pass@cache.example.com:6379 useRedisSets: true
backend:
cache:
store: redis
connection: redis://user:pass@cache.example.com:6379
useRedisSets: true