ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend
Redis Caching
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18
- フォーク
- 10
- 平均マージ
- 2日 20時間
- マージ済み PR(30日)
- 14
説明
Is your feature request related to a problem? Please describe.
Right now every request goes straight to our database, which slows things down and can overload it when traffic spikes.
Describe the solution you'd like
Add Redis as a simple in-memory cache for things we fetch a lot—like user sessions, config settings, and common API responses or use Application level caching. On each call, check Redis first. If the data’s there, return it. If not, pull from the source, stash it in Redis with a short expiry, and send it back.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では、ファイル、テスト、エントリーポイントが指定されていません。まず、ユーザーセッション、設定、一般的な API レスポンスに関するリクエストおよびデータベースアクセスの経路を特定し、次に Redis と有効期限をどのように統合すべきかを判断してください。繰り返しの読み取りで最初に Redis を確認し、ミスした場合は元のデータを取得して短い有効期限付きでキャッシュし、選択したユースケースについてこの動作がカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, redis
- 領域
- backend, databases, performance
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100