ChronicleTS v4.8.2

Storage Architecture

Four mechanical layers from wire to NVMe flash.

ChronicleTS eliminates heap churn, write-ahead amplification, and kernel page-cache eviction by aligning every data structure to 4 KB flash pages.

01 · INGESTION

Lock-Free Per-Core Write Rings

Every CPU core owns an isolated append buffer and NVMe submission queue. Incoming telemetry batches over gRPC, Arrow Flight, or Influx Line Protocol land directly into aligned 64 KB blocks with zero cross-core mutex contention.

  • 18.5M rows/s per NVMe node
  • 0.8 ms p99 ack latency
  • Zero GC pauses (Rust)

02 · COMPRESSION

Adaptive Columnar Time-Blocks

Timestamps use delta-of-delta zigzag bitpacking while monotonic counters and IEEE-754 floats select AVX-512 Gorilla XOR or frame-of-reference encoders per 4,096-row stripe automatically.

  • 0.74–1.18 bytes per point
  • 14.2:1 median industrial ratio
  • CRC32C stripe checksums

03 · COMPACTION

Deterministic Time-Partitioned LSM

Immutable two-hour partitions merge into daily cold segments in bounded I/O budgets. Downsampled 1m and 1h continuous aggregates compute inline during compaction without double-reading disk.

  • Bounded write amplification (<1.9x)
  • Instant TTL partition drop
  • S3 / GCS cold tiering

04 · QUERY ENGINE

Vectorized SQL & PromQL Execution

Scan billion-row windows directly over compressed stripes using SIMD min-max zone maps and bloom-indexed tag dictionaries. Native PostgreSQL wire compatibility works with existing BI and Grafana stacks.

  • 42 ms 30-day rollup scan
  • Late-materialized tag filters
  • PG wire & HTTP SQL API

Verification

Inspect reproducible hardware numbers across 30B float64 telemetry points.