- Trace files are in traces
- Scheme sources are in routing
- Scripts to process results are in result
- 'main.py' is the main code to run experiments. Run experiments using the following command:
$ python main.py <trace> <nflows> <exp>
- Create a virtual environment
# check and make sure Python >=3.6
virtualenv --python python3 "reproduce"
source "reproduce/bin/activate"
pip install --upgrade pip
- Install dependencies
pip install -r requirements.txt
- Take ripple trace for example, to reproduce results for Fig. 3, first download trace file from https://www.dropbox.com/s/yj2jvx6r8e9jad4/transactions-in-USD-jan-2013-aug-2016.txt?dl=0 and put it in traces/ripple. Then run
python ripple-val.py
To reproduce results for Fig. 4, in traces/ripple run
python parse-ripple.py
- To generate raw data for Fig. 6, 7, 8, 10, 11, run
bash run.sh
- Run scripts in result to generate all figures in the evaluation