Go to file
Alvin Moore af292818ac Added backup_agent and dr_agent to runtime docker image
Removed mounted website directory from image
Explicitly listed runtimes being copied to runtime image
2019-02-01 09:23:18 -08:00
FDBLibTLS Merge branch 'release-6.0' 2018-11-10 13:04:24 -08:00
bindings Staying consistent with Pointer syntax 2019-01-29 10:07:49 +01:00
build Incremented the version of the build docker due to the addition of the boost 1.67 directory 2019-01-31 11:10:34 -08:00
cmake Make init script executable in cmake install 2019-01-31 09:38:43 -08:00
design Update backup.md 2018-10-29 14:11:20 -07:00
documentation Added server_overloaded error and client message 2019-01-25 13:15:19 -08:00
fdbbackup Merge branch 'release-6.0' 2019-01-09 16:14:46 -08:00
fdbcli * Add Optional.map and ErrorOr.map. 2019-01-11 09:03:38 -08:00
fdbclient Updated client error message for too many status requests 2019-01-28 17:49:49 -08:00
fdbmonitor Install fdbmonitor without lib suffix for cmake 2019-01-31 09:06:49 -08:00
fdbrpc Merge pull request #1029 from bnamasivayam/reenable-check_desired_classes 2019-01-11 17:15:05 -08:00
fdbserver Increase severity to SevWarnAlways for TooManyStatusRequests trace 2019-01-28 17:50:50 -08:00
fdbservice Fixed several minor code issues 2019-01-24 14:43:12 -08:00
flow Merge pull request #1096 from mpilman/features/actor-forward-declarations 2019-01-30 13:30:49 -08:00
layers remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
packaging Added backup_agent and dr_agent to runtime docker image 2019-02-01 09:23:18 -08:00
recipes tuple.Tuple needed to be deconstructed into TupleElement items before appending to key tuple 2018-10-23 22:13:52 -05:00
tests Update tests/CMakeLists.txt 2019-01-24 13:16:06 -08:00
.clang-format Add a clang-format config file. 2018-03-29 12:10:12 -07:00
.gitignore Merge pull request #942 from ajbeamon/remove-cluster-from-bindings 2019-01-24 14:39:09 -08:00
ACKNOWLEDGEMENTS Initial repository commit 2017-05-25 13:48:44 -07:00
CMakeLists.txt ctest improvements - #1058 2019-01-22 14:34:51 -08:00
CODE_OF_CONDUCT.md Updates markdown link to Contributor Covenant homepage in the Code of Conduct. 2018-04-18 01:08:55 -04:00
CONTRIBUTING.md Adds initial draft of contribution guide. 2018-04-12 17:59:32 -07:00
LICENSE Initial repository commit 2017-05-25 13:48:44 -07:00
Makefile Prefer MCS instead of DMCS which has been deprecated in Mono 2019-01-01 18:53:54 -08:00
README.md Update README.md (#946) 2018-11-27 15:16:43 -08:00
fdb.cluster.cmake flow compiling with cmake on OS X 2018-12-13 13:58:06 -08:00
foundationdb.sln removed references to nodejs bindings 2018-04-06 17:17:45 -07:00
versions.target update versions target to 6.0.19 2019-01-09 15:31:59 -08:00

README.md

FoundationDB logo

FoundationDB is a distributed database designed to handle large volumes of structured data across clusters of commodity servers. It organizes data as an ordered key-value store and employs ACID transactions for all operations. It is especially well-suited for read/write workloads but also has excellent performance for write-intensive workloads. Users interact with the database using API language binding.

To learn more about FoundationDB, visit foundationdb.org

Documentation

Documentation can be found online at https://apple.github.io/foundationdb/. The documentation covers details of API usage, background information on design philosophy, and extensive usage examples. Docs are built from the source in this repo.

Forums

The FoundationDB Forums are the home for most of the discussion and communication about the FoundationDB project. We welcome your participation! We want FoundationDB to be a great project to be a part of and, as part of that, have established a Code of Conduct to establish what constitutes permissible modes of interaction.

Contributing

Contributing to FoundationDB can be in contributions to the code base, sharing your experience and insights in the community on the Forums, or contributing to projects that make use of FoundationDB. Please see the contributing guide for more specifics.

Getting Started

Binary downloads

Developers interested in using the FoundationDB store for an application can get started easily by downloading and installing a binary package. Please see the downloads page for a list of available packages.

Compiling from source

Developers on a OS for which there is no binary package, or who would like to start hacking on the code can get started by compiling from source.

macOS

  1. Check out this repo on your Mac.
  2. Install the Xcode command-line tools.
  3. Download version 1.52 of Boost.
  4. Set the BOOSTDIR environment variable to the location containing this boost installation.
  5. Install Mono.
  6. Install a JDK. FoundationDB currently builds with Java 8.
  7. Navigate to the directory where you checked out the foundationdb repo.
  8. Run make.

Linux

  1. Install Docker.

  2. Check out the foundationdb repo.

  3. Build Linux docker image using the file Dockerfile located in the build source directory.

    cd /dir/path/foundationdb
    docker build ./build -t <image-tag-name>
    
  4. Run the docker image interactively Docker Run with the directory containing the foundationdb repo mounted Docker Mounts.

    docker run -it -v '/local/dir/path/foundationdb:/docker/dir/path/foundationdb' <image-tag-name> /bin/bash
    
  5. Navigate to the container's mounted directory which contains the foundationdb repo.

    cd /docker/dir/path/foundationdb
    
  6. Run make.

This will build the fdbserver binary and the python bindings. If you want to build our other bindings, you will need to install a runtime for the language whose binding you want to build. Each binding has an .mk file which provides specific targets for that binding.