Very naive and simple implementation of distributed key value database in GO. Created in purpose of learning Golang and system design.
- Use
./run_10_servers.sh
and then run./run_test.sh
- Use make all and then
./server -ip <IP> -port <PORT>
to run the server and./proxy <SERVER_IP>:<SERVER_PORT>
Data assigned at random server and then stored in a struct called addressBook
on the proxy.
- Reduce redundancy in the code
- Create unit testing
- Implement replication