Expand description
Bounded RAM + Region SSD cache for Tokio applications.
Mutations provide process-local visibility. An unclean restart opens empty;
Cache::close_warm publishes a recoverable image.
Structs§
- Cache
- An open cache bound to one Tokio runtime.
- Cache
Builder - Builder that combines a cache path, static geometry, runtime tuning, and a
Tokio runtime binding before opening a
Cache. - Cache
Index Snapshot - Cache
IoDirection Snapshot - Cumulative engine-request and runtime-file-I/O statistics for one direction. Request counters describe logical engine requests. Path counters describe positive runtime file operations and are not physical device I/O.
- Cache
IoPath Snapshot - Cache
IoSnapshot - Cache
L1Snapshot - Cache
Reclaim Snapshot - Cache
Snapshot - Lock-free point-in-time operational counters and cache-owned resource accounting. Counters are process-local and reset on every open. Concurrent updates may appear across fields at slightly different instants.
- Detailed
Cache Snapshot - On-demand operational detail. Producing this value briefly reads every L1 shard and index partition and scans Region metadata. It does not scan index slots or Region data.
- Region
Snapshot - Runtime
Config - Process-local cache topology and resource tuning validated during open.
- Static
Config - Persistent L2 geometry and fixed-index sizing.
- Value
Enums§
- Cache
Health - Cache
Tier - IoEngine
- Runtime implementation used by the independent read, write, and reclaim I/O pools.
- IoMode
- Buffered/direct policy for runtime cache-record I/O.
- L1Eviction
Policy - Eviction policy for the process-local L1 tier.
- Startup
Mode