Skip to content
← All projects

ferrokey

An embedded database, built from scratch in Rust.

RustSystemsDatabaseStorage Engine

Run locally · Available to build and run locally from source. No hosted demo is needed.

A look beneath the database API. Built the storage pieces directly: a B-tree index, write-ahead logging, checksums, and recovery after an unclean shutdown.

Embedded key-value store built from scratch in Rust with zero runtime dependencies

Custom B-tree index over a fixed 4096-byte page format

Write-ahead log with CRC32 checksums and fsync guarantees for durability

Crash recovery replays the log on open no data loss on unclean shutdown