Developer builds zero-dependency crash-safe key-value store in Rust, exposes benchmark flaws
A developer built StoneKV, a crash-safe, log-structured embedded key-value store written entirely in Rust with no external dependencies, as an entry for Track D of the Zero Dependency Hackathon. The project's core design revolves around a single durability guarantee: once a write operation returns successfully, the data has been appended to a write-ahead log and fully synced to disk. The developer focused heavily on adversarial testing, uncovering edge cases including a deleted key that could resurrect after a crash and a benchmark figure that appeared impressive but was later found to be inaccurate. Record integrity is enforced using CRC32 checksums, and the store detects incomplete final log entries on restart, replaying valid data and truncating corrupted tails. The author explicitly notes the guarantee covers process crashes only, and makes no claims about behavior during sudden power loss or storage-controller failures.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in