Module warm

Source
Expand description

Warm storage tier: file-based partitioned storage.

Stores temporal points in postcard-serialized files, partitioned by entity_id. Designed for data that’s accessed less frequently than hot tier but still needs reasonable read performance.

§Directory Layout

warm/
├── entity_0000000042/
│   ├── space_0000_chunk_000000.warm
│   └── space_0000_chunk_000001.warm
└── manifest.json

Each chunk file contains a sorted sequence of serialized TemporalPoints.

Structs§

ChunkMeta 🔒
Per-chunk metadata for zone map pruning (RFC-002-08).
WarmStore
Warm storage backend using partitioned files.
ZoneManifest 🔒
Zone map manifest: per-entity-space chunk metadata. Keys are serialized as "entity_id:space_id" strings for JSON compatibility.

Constants§

DEFAULT_CHUNK_SIZE 🔒
Maximum number of points per chunk file.