Expand description
Cache-aware TTL coordination hints for compression-related caches.
Hosts attach real storage; this module only models hysteresis on repeated hits so hot keys do not thrash TTL without unbounded growth.
Structs§
- Cache
TtlResult - Result of
effective_ttl_with_hysteresis.
Functions§
- cache_
policy_ summary - One-line description for operator CLIs / docs.
- effective_
ttl_ with_ hysteresis - Stretch effective TTL modestly on repeated access to the same logical key, capped at 2× base
and at [
MAX_EFFECTIVE_TTL_SECS].