Hacker News new | ask | show | jobs
Show HN: Casky,append-only key-value store with snapshots and incremental backup (github.com)
3 points by thesp0nge 195 days ago
Hi HN!

I’ve been working on Casky, a tiny, high-performance, append-only key-value store written in C. It’s designed for simplicity, speed, and safety:

* In-memory index with persistent append-only log * Support for snapshots and incremental backups * TTL (time-to-live) for keys * Compact operation to clean expired/deleted entries * Thread-safe with optional locking

I built it to explore safe persistence patterns for embedded C applications, while keeping the codebase minimal and hackable.

Everything is open-source, and you can check it out here: https://github.com/thesp0nge/casky

I’d love feedback from the HN community—especially on:

* API design for snapshots & persistence * Trade-offs in append-only logging vs. in-place updates * Testing strategies for key-value stores in C

Thanks!