Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 797 Bytes

README.md

File metadata and controls

33 lines (29 loc) · 797 Bytes

Sharded Key-value Storage System

Distributed Systems course: Assignment 2

Universitat Rovira i Virgili

Installation

· Linux

python3 -m pip install -r requirements.txt
python3 -m grpc_tools.protoc --proto_path=. --grpc_python_out=. --pyi_out=. --python_out=. ./KVStore/protos/*.proto
python3 -m pip install -e .

· Windows

py -m pip install -r requirements.txt
py -m grpc_tools.protoc --proto_path=. --grpc_python_out=. --pyi_out=. --python_out=. ./KVStore/protos/*.proto
py -m pip install -e .

Evaluation

First subtask (simple KV storage)

python3 eval/single_node.py

Second subtask (sharded KV storage)

python3 eval/sharded.py

Third subtask (sharded KV storage with replica groups)

python3 eval/replicas.py