|
overview
|
TwinDB is an embedded key/value database based on BerkeleyDB. It basically adds security from database corruption on top of the non-transactional version of BerkeleyDB. It accomplishes this by maintaining twin BerkeleyDB databases and using lock files to indicate when a set of writes are in progress. Should the process crash while a transaction is in-progress, a copy of the unlocked database will replace the locked one on startup. Performance is still quite good.
|