"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:
- partitioning the network
- issuing writes to servers on both sides of the partition
- healing the partition
- verifying that each acknowledged write's value is actually present into the store by invoking read operations on random servers of the cluster
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
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
Apache 2.0