Show HN: SherifDB, a databe written in Golang under 500 LOC
Category: database
Tags: key-value-store, bitcask, go, append-only-log, learning-resource
Score: 4.8/10 (Innovation: 4, Technical: 6, Documentation: 5, Utility: 4)
SherifDB is a minimal, append-only key-value store in Go inspired by Bitcask, prioritizing correctness and simplicity under 500 LOC. It offers a compact binary protocol, crash recovery via CRC32, and single-writer guarantees, making it an interesting learning resource for understanding storage engine fundamentals. The project stands out for its honest narrative about avoiding over-engineering, though its utility is niche for educational use rather than production.
Target audience: backend devs, systems programmers
Repository: https://emmanuel326.github.io/blogs/sheriffdb.html · Go · 6 stars
View on Hacker News