WeSearch

Noxu DB, a Rust port of Berkeley DB Java Edition

gregburd· ·3 min read · 0 reactions · 0 comments · 14 views
#database#rust#technology
Noxu DB, a Rust port of Berkeley DB Java Edition
⚡ TL;DR · AI summary

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.

Key facts
Original article
Codeberg.org · gregburd
Read full at Codeberg.org →
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.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Codeberg.org