memventi

Memventi is a Venti daemon. It speaks the same Venti protocol as the real Venti in Plan 9 from Bell Labs. It is a storage server that stores data blocks up to 56KB using its SHA-1 hash (called its score) to address it. It keeps a mapping of score to disk location in memory (in a memory-efficient manner). Blocks written cannot be removed, and blocks are only written once. Memventi writes new blocks to an append-only file, thereby making file corruption due to bugs practically impossible.