Looking for a key value store


I’m trying to find a relatively small, simple (get, put, delete) key value store. Something like Kyoto Cabinet or LevelDB, but way smaller and simpler. Kyoto Cabinet is 40k lines of C++. I need something closer to 4k or fewer lines. This is for a few kilobytes of keys and values backed by 64k of durable nonvolatile memory. Access frequency will be very low (maybe a few accesses in a day), but energy efficiency is important. Any pointers appreciated.


Hmm, that’s a tricky one. That’s bigger than what will fit in a RAM-based format like JSON or a brute-force binary store, but smaller than a normal database, where the amount of code to implement a relational database would be too large.

I’ll look around and see what I can find.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.