ember_core/lib.rs
1//! ember-core: the storage engine.
2//!
3//! Owns the keyspace, data types, expiration, and memory management.
4//! Designed around a thread-per-core, shared-nothing architecture
5//! where each shard independently manages a partition of keys.
6
7pub mod engine;
8pub mod error;
9pub mod expiry;
10pub mod keyspace;
11pub mod memory;
12pub mod shard;
13pub mod types;
14
15pub use engine::{Engine, EngineConfig};
16pub use error::ShardError;
17pub use keyspace::{
18 EvictionPolicy, IncrError, Keyspace, KeyspaceStats, ShardConfig, TtlResult, WriteError,
19 WrongType, ZAddResult,
20};
21pub use shard::{ShardPersistenceConfig, ShardRequest, ShardResponse};
22pub use types::Value;