alopex-skulk 0.2.0

Alopex Skulk - Time Series Storage Engine
Documentation

Alopex Skulk

Alopex Skulk - High-performance Time Series Storage Engine for Rust.

Crates.io Documentation License

Features

  • Time Series Optimized: Designed specifically for time-stamped data
  • Columnar Storage: TSM (Time-Structured Merge Tree) file format
  • Memory Efficient: Adaptive compression with run-length encoding
  • High Throughput: Optimized for high-volume write workloads
  • Integration Ready: Built on top of alopex-core

Installation

Add to your Cargo.toml:

[dependencies]
alopex-skulk = "0.1"

Architecture

Skulk implements a TSM-based storage engine with:

  • MemTable: In-memory buffer for recent writes
  • Partitions: Time-based data partitioning
  • TSM Files: Columnar storage format with block-level compression
  • Compaction: Background merge operations for optimal read performance

Usage

use alopex_skulk::tsm::PartitionManager;

// Create a partition manager
let manager = PartitionManager::new(config)?;

// Write time series data
manager.write(measurement, timestamp, value)?;

// Query data
let results = manager.query(measurement, time_range)?;

Requirements

  • Rust 1.82.0 or later (MSRV)
  • alopex-core 0.3.0 or later

License

Licensed under either of:

at your option.

Related Projects