FoundationDB is a free and open-source multi-model distributed NoSQL database developed by Apple Inc. with a shared-nothing architecture.[3] The product was designed around a "core" database, with additional features supplied in "layers."[4] The core database exposes an ordered key–value store with transactions.[5] The transactions are able to read or write multiple keys stored on any machine in the cluster while fully supporting ACID properties.[6] Transactions are used to implement a variety of data models via layers.

FoundationDB
Original author(s)
  • Nick Lavezzo
  • Dave Rosenthal
  • Dave Scherer
Developer(s)Apple Inc.
Initial release4 March 2013 (2013-03-04)
Stable release
7.1.24/25[1] / 7 November 2022 (2022-11-07)
Repository
Written inC++, C[2]
Operating system
Available inEnglish
TypeNoSQL
LicenseApache License 2.0
Websitewww.foundationdb.org Edit this on Wikidata

The FoundationDB Alpha program began in January 2012 and concluded on March 4, 2013, with their public Beta release.[7] Their 1.0 version was released for general availability on August 20, 2013. On March 24, 2015, it was reported that Apple has acquired the company.[8] A notice on the FoundationDB web site indicated that the company has "evolved" its mission and would no longer offer downloads of the software.[9]

On April 19, 2018, Apple open sourced the software, releasing it under the Apache 2.0 license.[10]

Main features edit

The main features of FoundationDB include the following:

Ordered key–value store
In addition to supporting standard key-based reads and writes, the ordering property enables range reads that can efficiently scan large swaths of data.[5]
Transactions
Transaction processing employs multiversion concurrency control for reads and optimistic concurrency for writes. Transactions can span multiple keys stored on multiple machines.
ACID properties
FoundationDB guarantees serializable isolation and strong durability via redundant storage on disk before transactions are considered committed.
Layers
Layers map new data models, APIs, and query languages to the FoundationDB core. They employ FoundationDB's ability to update multiple data elements in a single transaction, ensuring consistency.[4] An example is their SQL layer.[11]
Commodity clusters
FoundationDB is designed for deployment on distributed clusters of commodity hardware running Linux.[12]
Replication
FoundationDB stores each piece of data on multiple machines according to a configurable replication factor. Triple replication is the recommended mode for clusters of 5 or more machines.
Scalability
FoundationDB is designed to support horizontal scaling though the addition of machines to a cluster while automatically handling data replication and partitioning.
Systems supported
FoundationDB supports packages for Linux, Windows, and macOS. The Linux version supports production clusters, while the Windows and macOS versions support local operation for development purposes. Configurations on Amazon EC2 are also supported.[13]
Programming language bindings
FoundationDB supports language bindings for Python, Go, Ruby, Node.js, Java, PHP, and C, all of which are made available with the product.[13]

Design limitations edit

The design of FoundationDB results in several limitations:

Long transactions
FoundationDB does not support transactions running over five seconds.
Large transactions
Transaction size cannot exceed 10 MB of total written keys and values.
Large keys and values
Keys cannot exceed 10 kB in size. Values cannot exceed 100 kB in size.

History edit

FoundationDB, headquartered in Vienna, VA,[13] was started in 2009 by Nick Lavezzo, Dave Rosenthal, and Dave Scherer, drawing on their experience in executive and technology roles at their previous company, Visual Sciences.[14]

In March 2015 the FoundationDB Community site was updated to state that the company had changed directions and would no longer be offering downloads of its product. The company was acquired by Apple Inc., which was confirmed March 25, 2015.[15][8]

On April 19, 2018, Apple open sourced the software, releasing it under the Apache 2.0 license.[10]

See also edit

References edit

  1. ^ "Releases of apple/foundationdb". github.com. Retrieved 2022-11-14.
  2. ^ FoundationDB: the open source, distributed, transactional key-value store - apple/foundationdb, 4 January 2019 – via GitHub
  3. ^ Database House Wants You to Stop Dropping ACID
  4. ^ a b FoundationDB Releases Beta of its 'NoSQL/YesACID' Database
  5. ^ a b "FoundationDB's ACID Compliant NoSQL Available". Archived from the original on 2013-06-28. Retrieved 2013-04-11.
  6. ^ FoundationDB's NoSQL Breakthrough Challenges Relational Database Dominance
  7. ^ "FoundationDB Brings Transactions to NoSQL". Archived from the original on 2018-04-20. Retrieved 2013-04-11.
  8. ^ a b Apple Acquires Durable Database Company FoundationDB
  9. ^ "All Posts - FoundationDB". Archived from the original on 2015-03-25. Retrieved 2019-12-19.
  10. ^ a b "FoundationDB is Open Source". www.foundationdb.org. Retrieved 2018-04-19.
  11. ^ "The FoundationDB SQL Layer". Archived from the original on 2013-08-20. Retrieved 2013-08-21.
  12. ^ FoundationdB Releases New NoSQL Data Platform
  13. ^ a b c FoundationDB Aims to Consolidate NoSQL
  14. ^ SQL or NoSQL: FoundationDB Launches a 'Best of Both Worlds' Database
  15. ^ Ovide, Shira (25 March 2015). "Apple Acquires FoundationDB". Wall Street Journal.

External links edit