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

testing distributed stores against network partitions - after aphyr/jepsen

License

Notifications You must be signed in to change notification settings

pviotti/moses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

testing distributed stores against network partitions - after aphyr/jepsen

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published