Expand description
Content-addressed authenticated artifact cache. Content-addressed neutral-artifact cache.
PipelineFingerprint derives directly from the authenticated neutral
vyre_megakernel::Artifact identity. Dispatch inputs, target payloads,
device generations, and runtime policy do not enter this layer’s key.
Persisted blobs use a versioned, digest-bound frame and stale versions miss
rather than being served.
Hot paths use InMemoryPipelineCache, process-restart reuse uses
DiskCache, and callers compose them through LayeredPipelineCache.
Structs§
- Disk
Cache - Disk-backed pipeline cache. Writes one file per fingerprint
under
<root>/<hex>.bin. Reads are stateless; writes arewrite + renamefor atomicity. No eviction policy today (user decides) - the footprint is bounded by sum(artifact_size × unique_canonical_programs). - Disk
Cache Durability Report - Crash-durability evidence for disk cache artifacts.
- InMemory
Eviction Report - Structured eviction report for one in-memory cache shard.
- InMemory
Pipeline Cache - In-memory pipeline cache - zero-persistence, zero-network, sharded
FxHashMaps behind mutexes so concurrentget/puton different fingerprints rarely contend (VYRE_RUNTIME / PERF hot-cache audit). - Layered
Pipeline Cache - Composite store that reads from every backend and writes to
the first. Lets callers compose
[RamStore, DiskStore, RemoteStore]so a miss at the fast layer falls through to slower layers. - Layered
Promotion Report - Layered-cache promotion evidence.
- Pipeline
Cache Metric Error - Pipeline-cache metric arithmetic failure.
- Pipeline
Cache Metrics - Pipeline-cache instrumentation counters.
- Pipeline
Fingerprint - The exact canonical artifact digest used as a pipeline-cache key.
- Remote
Cache - HTTPS-backed cache that reads pre-compiled artifacts from a
base URL. Feature-gated on
remote-cacheso library users who only want disk caching don’t pull inureq.
Enums§
- Disk
Cache Error - Errors from disk-backed pipeline cache construction / use.
- InMemory
Eviction Reason - Reason the in-memory pipeline cache evicted retained artifacts.
Traits§
- Pipeline
Cache Store - Trait for persistent pipeline-cache backends.
super::DiskCacheandsuper::RemoteCache(when theremote-cachefeature is enabled) ship disk- and network-backed implementations; tests here use the in-memorysuper::InMemoryPipelineCache.