Noxu DB, a Rust port of Berkeley DB Java Edition
Noxu DB is a Rust-based embedded transactional key-value database engine that offers various features such as ACID transactions and crash recovery. It is designed to operate without the need for an external database process, making it efficient for developers. The database supports a range of functionalities including master-replica replication and configurable durability policies.
- ▪Noxu DB provides ACID transactions and a log-structured B+tree for efficient data management.
- ▪It includes features like checkpoint-based crash recovery and optional master-replica replication.
- ▪The database is organized as a Cargo workspace consisting of 16 crates, each serving a specific purpose.
Opening excerpt (first ~120 words) tap to expand
Noxu DB An embedded transactional key-value database engine, written in Rust. Noxu DB provides ACID transactions, a log-structured B+tree, checkpoint-based crash recovery, and optional master-replica replication — all in a single library with no external database process required. Quick Start use noxu_db::{Environment, EnvironmentConfig, DatabaseConfig, DatabaseEntry, OperationStatus}; use std::path::PathBuf; fn main() -> noxu_db::Result<()> { // Open an environment let env_config = EnvironmentConfig::new(PathBuf::from("/tmp/mydb")) .allow_create(true) .transactional(true); let env = Environment::open(env_config)?; // Open a database let db_config = DatabaseConfig::new().allow_create(true); let db = env.open_database(None, "mydb", &db_config)?; // Insert a record let key =…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Codeberg.org.