Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat(cache): share auth and access caches across replicas via Redis

オープン
#69 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java, redis
領域
backend, databases

調査の方向性

Start by locating GitHubAuthClient and DashboardAccessChecker, then read how their in-memory caches and TTLs are configured. Check the existing Redis store used for sessions, fan-out, or idempotency to see how it can be shared; the issue names no files or tests. Done means both caches can optionally use Redis with their stated TTLs and fall back to in-memory caching when Redis is not configured.

索引モデルが issue の本文から書いたものです。

説明

enhancement java
Problem Statement

Installation tokens (GitHubAuthClient, 50-min TTL) and dashboard access decisions (DashboardAccessChecker, 5/10/60-min TTLs) are cached in-memory per process. Under multiple replicas each instance re-warms its own caches and mints its own installation tokens — correct, but duplicated work and extra token-endpoint calls. With Redis arriving for 1.0 (sessions / fan-out / idempotency), these caches could be shared.

Proposed Solution

Optionally back the installation-token cache and the access-control cache with the shared Redis store (keyed by installation id / login, preserving the existing TTLs), falling back to in-memory when Redis is not configured. Pure optimization; no behavior change.

Alternatives Considered
  • Keep per-replica in-memory caches — simplest and correct, just less efficient at scale.
Priority

Nice to have

Code of Conduct
  • I have searched for existing issues and this is not a duplicate.
主要言語
Java
スター
35
フォーク
7
平均マージ
9時間 23分
マージ済み PR(30日)
154

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

devops-thiago/ThrillhouseBot のほかの issue

devops-thiago/ThrillhouseBot の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。