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
db
module contains the core logic for the TransientDB database. It includes theDB
struct and its implementation, which provides the primary API for interacting with the database. - metadata
- The
metadata
module defines theMetadata
struct and its associated methods.Metadata
is used to track information about each key-value pair, such as its creation time, access frequency, and TTL. - metrics
- The
metrics
module defines theMetrics
struct and its associated methods.