Skip to main content

Module cache_warming

Module cache_warming 

Source
Expand description

Predictive cache warming via access-pattern analysis.

Records per-key access history, computes frequency/recency metrics, detects periodic access patterns with auto-correlation, and produces a prioritised WarmupPlan that fits within a given memory budget.

Structsยง

AccessPattern
Historical access record for a single cache key.
CacheWarmer
Predictive cache warmer.
WarmupPlan
A WarmupPlan produced by CacheWarmer::plan_warmup.