/KVStore

Distributed Multi-Consistency Key-Value Store

Primary LanguageJava

KVStore

Build

mvn clean package

Run

KVStore % python3 test.py -h
usage: test.py [-h] [-w W] [-t T]
               [-m [{Sequential,Causal,Eventual,Linear} [{Sequential,Causal,Eventual,Linear} ...]]]

Launch the kv store test

optional arguments:
  -h, --help            show this help message and exit
  -w W                  the number of workers
  -t T                  the number of requests
  -m [{Sequential,Causal,Eventual,Linear} [{Sequential,Causal,Eventual,Linear} ...]]
                        generate requests with different consistency options.
                        Multiple options are allowed

Validate the Consistency

KVStore % python3 validation.py -h
usage: validation.py [-h] [-m {Sequential,Causal,Eventual,Linear}]

validate the result

optional arguments:
  -h, --help            show this help message and exit
  -m {Sequential,Causal,Eventual,Linear}
                        the consistency model