Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Learning from the Community: Open-Source Layers

One of the best ways to learn how to build on FoundationDB is to study existing, production-proven layers. A "layer" is simply a library or service that provides a higher-level data model on top of FoundationDB's ordered key-value store. By examining how these layers map their data models to keys and values, you can gain invaluable insights for your own projects.

Here are some of the most prominent open-source layers developed by the FoundationDB community.

The Record Layer

The Record Layer provides a structured, record-oriented data store on top of FoundationDB, similar to a traditional relational database. It is used in production at Apple to power CloudKit.

The Document Layer

The Document Layer implements a MongoDB®-compatible API, allowing you to store and query JSON documents within FoundationDB.

The ZooKeeper Layer

This layer implements the Apache ZooKeeper API, providing a distributed coordination service built on FoundationDB.

The Time-Series Layer

This is an experimental, high-performance layer written in Go, designed specifically for storing and querying time-series data with high compression.

Warp 10

Warp 10 is a powerful platform for managing time-series data. While it was not originally built on FoundationDB, version 3.0 and later versions have adopted it to replace HBase. This change was motivated by a desire to simplify operations and eliminate the dependency on the Hadoop ecosystem.