./run-cluster.sh number-of-instances /path/to/input/file
startsnumber-of-instances
rocksDb instances, one coorinator and one partitioner../kill.sh
kills all rocksDb instances, the coordinator, and the partitioner.- A forked
rpclib
repo is contained as a git submodule, so when cloning this repo- either do
git clone --recursive git@github.com:tan-yue/power-law-rocksdb.git
- or
git clone
without--recursive
and dogit submodule update --init
inside the cloned repo
- either do
Implement the two functions below
- cc/coordinator.cc:Coordinator::lookup
- cc/partitioner.cc:Partitioner::repartition
- gen-zipf.sh: a script generating Zipfian stream to the standrad output
make
compiles files in foldercc
and puts executables in folderbuild
make debug
does the same thing asmake
but turn on debug messages- For instructions of building rpclib, please refer to rpclib's doc page