Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

Latest commit

 

History

History
49 lines (27 loc) · 1.09 KB

README.md

File metadata and controls

49 lines (27 loc) · 1.09 KB

Moses

"Lift up your staff, and stretch out your hand over the sea and divide it"

Experiments on network partitions with Blockade, as in the Jepsen series.

For the moment, the game is about:

  1. partitioning the network
  2. issuing writes to servers on both sides of the partition
  3. healing the partition
  4. verifying that each acknowledged write's value is actually present into the store by invoking read operations on random servers of the cluster

Setup

Requirements:

  • Docker (tested with version 1.12)
  • Blockade 0.3.0 (sudo pip install blockade==0.3.0)

Check the setup with the following commands:

docker info
blockade -h

Usage

Each folder contains the test files for a specific store. Once in a certain folder, you can issue the following commands.
To build the Docker images and install the needed dependencies:

make build

To run the write test with network partitions:

make run

License

Apache 2.0