Home › FAQ › How do I run FoundationDB on a Mac?

How do I run FoundationDB on a Mac?

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.

With FrontierStack you can install or connectFoundationDB from its Databases catalog, then monitor its health, ports and certificate alongside the rest of your stack.

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 questions