Skip to content
Jens Alfke edited this page Jul 24, 2014 · 29 revisions

ForestDB

ForestDB is a fast key-value storage engine that is based on a Hierarchical B+-Tree based Trie, or HB+-Trie. It was written in C++ and developed by Couchbase's Caching and Storage Team to provide a scalable and high performance storage layer for the Couchbase NoSQL database.

ForestDB can support efficient indexing and retrieval on a large number of variable-length keys, in terms of block device I/O operations. As discussed in the Performance section, it especially shows much better I/O performance on Solid-State Drives (SSDs). We have tested ForestDB in various server OS environments (Centos, Ubuntu, Mac OS X, Windows) and mobile OSs (iOS, Android).

Contents

This wiki provides a ForestDB overview, and describes the public APIs, implementation, integration into Couchbase Lite, performance results, and future work:

Releases

  • ForestDB 1.0 Beta released (Aug, 2014)

License

ForestDB is currently released under the Apache 2.0 license.

Code Contribution

Clone this wiki locally