Fast and reliable key-value store, under the Mozilla Public License (link as you like, share modifications).
Features
-
ACID semantics.
-
B trees with copy-on-write.
-
Support for referential transparency: databases can be cloned in time O(1).
-
Ultimately, we'd like to have no locks. Right now, there is a cross-process read write lock, that only
commit
takes exclusively (other parts of a mutable transaction need just a read access).
This version is only capable of inserting and retrieving keys in the database, allowing several bindings for the same key (get will retrieve the first one).