Skip to main content

Module cache

Module cache 

Source
Expand description

§chronix-cache

Caching layer for the Chronix time-series database.

This crate provides:

  • LastValueCache — O(1) lookup of the most recent point per series
  • SegmentCache — LRU cache for decoded Arrow arrays from segments

Re-exports§

pub use error::CacheError;
pub use lvc::LastValueCache;
pub use segment::CacheLoadError;
pub use segment::SegmentCache;

Modules§

error
Cache error types.
lvc
Last Value Cache (LVC) — O(1) lookup of the most recent point per series.
segment
Segment Cache — scan-resistant cache for decoded Arrow arrays from segment files.