๐ก๏ธ Azure Redis Cache has no cache lookups for 30 days๐ข
- Contextual name: ๐ก๏ธ Redis Cache has no cache lookups for 30 days๐ข
- ID:
/ce/ca/azure/redis-cache/no-cache-lookups-in-30-days - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
BEST_PRACTICE - Policy Categories:
COST
Statsโ
not available
Logicโ
- ๐ง prod.logic.yaml๐ข
Descriptionโ
Descriptionโ
This review-only policy identifies successfully provisioned Azure Cache for Redis instances that have recorded zero cache hits and zero cache misses over 30 days.
Rationaleโ
A cache with no lookup activity may be idle while continuing to incur cost. The metrics are not conclusive usage evidence because Redis can also support pub/sub, locks, queues, sessions, and other patterns that do not produce cache hits or misses.
Impactโ
Removing or resizing a cache without checking those other patterns can interrupt applications. Treat every result as an investigation, not as an automatic deletion recommendation.
Auditโ
This policy evaluates an Azure Cache for Redis instance based on its 30-day cache lookup metrics.
The Azure Cache for Redis instance is marked as
INCOMPLIANTif:
Monitor: Cache Hits, 30-Day= 0.Monitor: Cache Misses, 30-Day= 0.The instance is marked as
INAPPLICABLEif itsProvisioning Stateis not Succeeded.The instance is marked as
UNDETERMINEDif its provisioning state or either... see more
Remediationโ
Remediationโ
Zero cache hits and misses do not prove that the instance is unused. Redis can support workloads that do not perform cache lookups, so do not delete or resize the instance based on this finding alone.
Validate the Findingโ
- Identify the instance owner and the applications that connect to it.
- In Azure Monitor, select a representative period of at least 30 days and review
Cache Hits,Cache Misses,Total Commands Processed,Connected Clients,Cache Read, andCache Write.- Check application configuration and operational records for pub/sub, streams, distributed locks, queues, sessions, scheduled workloads, and other Redis uses that may not produce cache hits or misses.
- Confirm whether the observed period includes normal business cycles and any expected seasonal or batch activity.
Remediateโ
- If the instance supports a required non-cache workload, retain it and document its owner and purpose.
- If the instance is required but oversized, evaluate a smaller supported tier or capacity. Test workload limits, availability, performance, and rollback before
... see more
policy.yamlโ
Linked Framework Sectionsโ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| ๐ผ Cloudaware Framework โ ๐ผ Waste Reduction | 30 | no data |