Skip to main content

Module cache

Module cache 

Source
Expand description

Advanced multi-level caching layer for cloud storage

This module provides a comprehensive caching system with:

  • LRU cache with TTL (Time-To-Live)
  • LFU (Least Frequently Used) cache
  • ARC (Adaptive Replacement Cache)
  • Spatial-aware caching for geospatial data
  • Tile-based caching for COG/tile pyramids
  • Persistent disk cache with metadata
  • Cache warming strategies
  • Configurable eviction policies

Re-exports§

pub use metadata::CacheEntry;
pub use metadata::CacheKey;
pub use metadata::CacheStats;
pub use metadata::DiskCacheMetadata;
pub use metadata::LevelStats;
pub use metadata::SpatialInfo;
pub use metadata::TileCoord;
pub use eviction::ArcCache;
pub use eviction::LfuCache;
pub use eviction::LruTtlCache;
pub use backends::PersistentDiskCache;
pub use backends::SpatialCache;
pub use backends::TileCache;
pub use multi::CacheWarmer;
pub use multi::DiskCache;
pub use multi::MemoryCache;
pub use multi::MultiLevelCache;

Modules§

backends
Specialized cache backends (Spatial, Tile, Persistent Disk)
eviction
LRU, LFU, and ARC eviction policy implementations
metadata
Cache metadata and entry types
multi
Multi-level caching and cache warming

Structs§

CacheConfig
Cache configuration

Enums§

EvictionStrategy
Cache eviction strategy
WarmingStrategy
Cache warming strategy