Module advanced_caching

Module advanced_caching 

Source
Expand description

Advanced multi-level caching system for vector embeddings and search results

This module provides:

  • Multi-level caching (memory + persistent)
  • LRU, LFU, ARC eviction policies
  • TTL expiration
  • Cache coherence and invalidation
  • Background cache updates

Structs§

BackgroundCacheWorker
Background cache worker for maintenance tasks
CacheAnalysisReport
CacheAnalyzer
Advanced cache analytics and optimization recommendations
CacheConfig
Cache configuration
CacheEntry
Cache entry with metadata
CacheInvalidator
Cache invalidation utilities with indexing support
CacheKey
Cache key that can be hashed
CacheStats
Cache statistics
CacheWarmer
Cache warming utilities
InvalidationStats
Statistics for cache invalidation tracking
MemoryCache
Memory cache implementation
MultiLevelCache
Multi-level cache combining memory and persistent storage
MultiLevelCacheStats
PersistentCache
Persistent cache for disk storage

Enums§

EvictionPolicy
Cache eviction policy