Expand description
Cache implementations for the Soma runtime.
MemoryCache— in-memory LRU with byte-level evictionLocalCache— filesystem-backed with sharded directoriesTieredCache— multi-level (memory → local) with auto-promotionFsActionStore— persistent two-table store (action records + CAS)
Re-exports§
pub use fs_store::FsActionStore;pub use local::LocalCache;pub use memory::MemoryCache;pub use tiered::TieredCache;
Modules§
- fs_
store FsActionStore— the persistent two-table cache (action records + CAS).- gc
- Cost-aware garbage collection for
FsActionStore. - local
LocalCache— filesystem-backedCacheStorewith sharded directories and atomic writes.- memory
MemoryCache— in-memory LRUCacheStorewith byte-bounded eviction.- tiered
TieredCache— multi-levelCacheStorewith promotion on hit.