一个快速的Key-Value存储引擎:forestdb

jopen 11年前

ForestDB是一个快速的Key-Value存储引擎,由 Couchbase Caching 和 Storage 团队开发,并且它的主要索引结构构建自 Hierarchical B+-Tree based Trie,叫做 HB+-Trie。

主要特性

  • Keys and values are treated as an arbitrary binary.
  • Applications can supply a custom compare function to support a customized key order.
  • A value can be retrieved by its sequence number or disk offset in addition to a key.
  • Write-Ahead Logging (WAL) and its in-memory index are used to reduce the main index lookup / update overhead.
  • Multi-Version Concurrency Control (MVCC) support and append-only storage layer.
  • Multiple snapshot instances can be created from a given ForestDB instance to provide different views of database.
  • Rollback is supported to revert the database to a specific point.
  • Ranged iteration by keys or sequence numbers is supported for a partial or full range lookup operation.
  • Manual or auto compaction can be configured per ForestDB database file.
  • Transactional support with read_committed or read_uncommitted isolation level.

项目主页:http://www.open-open.com/lib/view/home/1412738712702