A new OCaml library: kv-lite, a Key Value store implemented on SQLite

I wrote a thin wrapper round SQLite to implement a simple Key Value store interface. The github repository is https://github.com/tomjridge/kv-lite

The bindings use Lwt for concurrency. 

Performance is reasonably good: a batch set of 100k operations completes in about 1.5s. This is not as quick as mini-btree, but SQLite is probably doing a bit more here, and the layers of wrapping probably add some overhead too.


Comments

Popular posts from this blog

The Economics of Writing (Good) Code Documentation

A model of file update

What is so special about cross-directory rename of a directory?