Skip to main content

Module cache

Module cache 

Source
Expand description

L1 In-Memory Cache using Moka

High-performance concurrent cache for vectors with LRU eviction.

Structsยง

CacheConfig
Configuration for the L1 cache
CacheKey
Cache key combining namespace and vector ID
CacheStats
Cache statistics
CachedStorage
Cached storage wrapper that adds L1 caching to any VectorStorage
VectorCache
L1 in-memory vector cache