A system to obscure the operation used in KV Store queries.
- Apache Thrift
- RocksDB
- LibSodium
- Boost
Install all:
sudo apt install thrift-compiler libthrift-dev librocksdb-dev libsodium-dev libboost-all-dev
You can configure many system parameters by modifying constants.h
. This file controls ports, db size, value size, and IP addresses. Note that you will have to recompile each executable after modifying the constants file.
$ mkdir db
$ make
./server
will start the server. The server will run until a value fetch fails or until you quit it.
$ make clients
$ ./clients
By default, this will run with 64 threads, each making 100 requests to the proxy with equal probability of a get and put request. These values can all be changed by editing the clients.cpp file.
$ ./client
> PUT hello world
> GET hello
world
>
Ctrl+C cleans up the program, saves what needs to be persisted into OpScure.data
, and exits. EXIT will also quit the program.