Skip to main content

somatize_runtime/cache/
mod.rs

1//! Cache implementations for the Soma runtime.
2//!
3//! - [`MemoryCache`] — in-memory LRU with byte-level eviction
4//! - [`LocalCache`] — filesystem-backed with sharded directories
5//! - [`TieredCache`] — multi-level (memory → local) with auto-promotion
6//! - [`FsActionStore`] — persistent two-table store (action records + CAS)
7
8pub mod fs_store;
9pub mod gc;
10pub mod local;
11pub mod memory;
12pub mod tiered;
13
14pub use fs_store::FsActionStore;
15pub use local::LocalCache;
16pub use memory::MemoryCache;
17pub use tiered::TieredCache;