Expand description
§EpochDB 🦀
An intelligent, persistent, and concurrent key-value store for Rust, designed to manage data with a lifecycle.
EpochDB is an opinionated database engine built on the robust foundation
of sled. It’s designed specifically for workloads where the relevance of
data changes over time, such as caching, session management, and real-time
analytics.
It provides a high-level, ergonomic API by treating data’s access frequency and age as first-class citizens.
Modules§
- db
- The
dbmodule contains the core logic for the TransientDB database. It includes theDBstruct and its implementation, which provides the primary API for interacting with the database. - metadata
- The
metadatamodule defines theMetadatastruct and its associated methods.Metadatais used to track information about each key-value pair, such as its creation time, access frequency, and TTL. - metrics
- The
metricsmodule defines theMetricsstruct and its associated methods.