A cloud-native, elastic, tiered KVS.
Note: some of the build instruction below are outdated. We plan to officially open-source the repo in the next two months.
- Install Clang and libc++.
On Ubuntu, run:
sudo apt-get install clang-4.0.
sudo apt-get install libc++-dev libc++abi-dev.
Clang/Clang++ is assumed to reside in/usr/bin/. Therefore, run:
sudo ln -s "$(which clang-4.0)” /usr/bin/clang.
sudo ln -s "$(which clang++-4.0)" /usr/bin/clang++. - Download and install Google protobuf (https://github.com/google/protobuf).
To build the KVS in debug mode, run bash ./scripts/build_debug.sh.
To build the KVS in release mode, run bash ./scripts/build_release.sh.
To run the KVS,
- Start a storage node by running
./build/kv_store/lww_kvs/kvs_server. - Start a proxy node by running
./build/kv_store/lww_kvs/kvs_proxy. - Start the monitoring node by running
./build/kv_store/lww_kvs/kvs_monitoring. - Start a benchmark node by running
./build/kv_store/lww_kvs/kvs_benchmark.
Meanwhile, the accepted input formats are GET $key and PUT $key $value.