Crate ugnos

Source
Expand description

ugnos: Concurrent Time-Series Database Core in Rust

This crate provides a high-performance, concurrent time-series database core for Rust applications. It is designed for efficient ingestion, storage, and querying of large volumes of time-stamped data, with support for:

  • Concurrent write buffering and background flushing
  • Columnar in-memory storage
  • Write-Ahead Log (WAL) and snapshot-based persistence
  • Tag-based filtering and time range queries
  • Thread-safe architecture

See the README for usage examples and more details.

Re-exports§

pub use crate::core::DbCore;
pub use crate::core::DbConfig;
pub use crate::error::DbError;
pub use crate::persistence::WriteAheadLog;
pub use crate::persistence::Snapshotter;
pub use crate::types::DataPoint;
pub use crate::types::TagSet;
pub use crate::types::Timestamp;
pub use crate::types::Value;

Modules§

buffer
core
Core database logic: main API, background flush thread, and orchestration of storage, buffer, and persistence.
error
index
persistence
query
storage
types
utils

Constants§

DEFAULT_FLUSH_INTERVAL
The default interval between automatic buffer flushes (1 second).