Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.31 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.31 KB

SFDB - Simple Fast Database

Experimental distributed in-memory database, entirely based on protocol buffers, gRPC and the Raft consensus algorithm.

Build Status

Getting Started

You can simply open, build and run this project by clicking the button below.
Everything is preinstalled, so simply ignore the Prerequisites section below.

Open in Gitpod

Prerequisites

Build

bazel build //...

Run Tests

bazel test //...

Start SFDB nodes

The provided launch3.sh script starts 3 sfdb nodes on localhost (ports 27910, 27911, 27912).

./sfdb/launch3.sh

Vagrant VM

Vagrant VM can be used to run bazel builds and tests in locally provisioned VM.

Repo code is mounted in /src folder inside VM.

Commonly used commands:

vagrant up
vagrant ssh
  # cd /src
  # bazel build //sfdb:sfdb
vagrant halt
vagrant destroy