Skip to main content

Module cache_partitioning

Module cache_partitioning 

Source
Expand description

Cache partitioning: isolate cache space per tenant, stream, or workload.

PartitionedCache manages a collection of named CachePartitions, each with an independent LRU policy and byte-level capacity budget.

Structsยง

CacheEntry
A single cached value together with its metadata.
CachePartition
An isolated cache partition with its own byte-level capacity.
PartitionStats
Snapshot of per-partition statistics.
PartitionedCache
A cache composed of multiple named CachePartitions.