Skip to main content

Module compaction

Module compaction 

Source
Expand description

§chronix-compaction

Hybrid compaction engine for the Chronix time-series database.

Combines TWCS (Time-Window Compaction Strategy) with size-tiered merging and write-amplification budgeting for optimal background I/O management.

This crate provides:

Re-exports§

pub use error::CompactionError;
pub use executor::CompactionExecutor;
pub use picker::CompactionLevel;
pub use picker::CompactionPicker;
pub use picker::CompactionPolicy;
pub use picker::CompactionStrategy;
pub use picker::CompactionTask;
pub use picker::SizeTier;
pub use picker::WriteAmpTracker;

Modules§

error
Compaction error types.
executor
Compaction executor — merge-sort compaction with deduplication.
picker
Compaction picker — decides which segments to compact.

Enums§

SegmentState
Lifecycle state for a segment file.