Skip to main content

Module hybrid_cache

Module hybrid_cache 

Source
Expand description

Hybrid cache storage backend

Combines memory (hot) and disk (cold) tiers. Lookups check memory first, falling back to disk with automatic promotion on hit. Writes go to both tiers so that entries are immediately available in memory and durable on disk.

Structsยง

HybridCacheStorage
Two-tier cache: memory for hot entries, disk for cold, with automatic promotion on disk hits.
HybridHitHandler