プロンプト

Plan a caching strategy

Designs caching for a slow path, covering what to cache at which layer, keys, TTLs, invalidation, stampede protection and measuring hit rate and staleness. Use when fixing latency or database load.

プロンプト全文

English
Help me plan a caching strategy.
Inputs: hot path; data freshness needs; stack; traffic.

1. Check whether caching addresses the measured bottleneck.
2. define scoped keys, TTLs and invalidation paths.
3. plan stampede protection, degradation and rollout measurements.

Deliver: Verdict, Cache plan, Keys and TTLs, Invalidation, Failure and stampede handling, Measurement, Rollout.
Clarify critical gaps, separate facts from assumptions, and do not invent data, citations or completed actions.

My material: [fill in here]

事前準備

Provide hot path; data freshness needs; stack; traffic.

出典とライセンス

Hodios · Plan a caching strategy

gabrielanhaia

CC0-1.0