talira

FoundationDB

The open source, distributed, transactional key-value store

open sourceApache-2.0self-hostablefree

FoundationDB is a distributed database that stores data as an ordered key-value store across a cluster of commodity servers and runs every operation in ACID transactions, while behaving like a single database to applications. It's multi-model by design: other data models (documents, records, queues, graphs) are built as layers on top of the key-value core, which handles distribution, replication and fault tolerance. It's known for its testing, done in a deterministic simulation engine. Applications use it through language bindings for C, Python, Ruby, Java and Go. Apple maintains it and runs it in production; it is licensed Apache-2.0.

Problems it solves

  • a distributed key-value store where every operation is a real ACID transaction
  • build my own data model (documents, queues, indexes) on top of a reliable ordered key-value core
  • scale a transactional database out across commodity servers and survive machine failures
  • a database whose correctness has been hammered by deterministic simulation testing
  • strictly serializable transactions across many keys spread over a cluster
  • a storage backend for a metadata service that must never lose or corrupt data
  • an ordered key-value store with range reads for building secondary indexes

Features

  • ACID transactions for all operations
  • ordered key-value store with range reads
  • distributed, replicated and fault tolerant
  • layers for other data models on top of the key-value core
  • deterministic simulation testing
  • language bindings for C, Python, Ruby, Java and Go
  • packages for macOS, Ubuntu, RHEL and Windows

Limitations

  • Transactions can't exceed 10 MB of affected data: keys are limited to 10 KB and values to 100 KB1
  • Transactions can't run longer than five seconds1

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what FoundationDB does.

  1. TiKV Highly scalable, low latency, easy to use distributed transactional key-value database
  2. etcd A distributed, reliable key-value store for the most critical data of a distributed system
  3. CockroachDB The cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement
  4. Apache Cassandra Open source distributed NoSQL database built for scale and high availability

Compare FoundationDB with the top 3