Home › Services › Databases › FoundationDB

FoundationDB on a Mac

Apple's open-source distributed key-value database with ACID transactions (self-hosted) · Databases

FoundationDB is the ordered key-value store Apple runs at very large scale (it underpins CloudKit) and open-sourced in 2018. Every operation is a serialisable ACID transaction across the whole cluster, and other data models are built as *layers* on top; the Record Layer (Java), the Document Layer and many in-house ones. It runs on macOS and Linux: install the server and clients packages from the GitHub releases (Linux .deb/.rpm or the macOS .pkg). fdbmonitor starts and restarts the fdbserver processes (default port 4500), and every client finds the cluster through the cluster file (/etc/foundationdb/fdb.cluster on Linux, /usr/local/etc/foundationdb/fdb.cluster on macOS); copy that file to each client machine; it is the access credential, so treat it like one. fdbcli manages it: status, configure double ssd, coordinators auto, exclude <ip:port> before taking a machine out. Watch it from Database Health (Connect to Database ▸ FoundationDB): it runs fdbcli --exec "status json" on the host and alerts when the database is unavailable, unhealthy (healing, missing data), still recovering, or reports cluster messages. Apache 2.0.

Run FoundationDB with FrontierStack

Install or connect FoundationDB; then check its status, ports and certificate from FrontierStack. The same screen links to firewall checks and backups where they apply.

Run it from your Mac.

FrontierStack installs, monitors and secures services on this Mac and on linked servers; and keeps your passwords and keys out of any AI's sight.

Download FrontierStack

Apple notarized · Safe & secure · macOS 14 Sonoma+

Related in Databases

Compare all 22 Databases options →