Project designed and written in Go in conjunction with the D7024E Mobile and distributed computing systems course at Luleå University of Technology.
The purpose of the project is to implement the Kademlia P2P distributed hash table network structure and simulate network communication between nodes.
- go 1.15+
- docker 19.03.12+
Below are the absolute minimum packages you will need for Linux. Names might vary depending on your distribution, you might need to install it manually if you can't find it using your distribution's package manager.
go 2:1.15-1
docker 1:19.03.12-2
To build and deploy the Kademlia network run scripts/deploy.sh.
List the different replica services
docker stack ps kadlab
List the different running containers
docker ps
Attach to a running container
docker attach "ContainerId"
To run the unit tests run scripts/testcoverage.sh.
- Viktor From - [email protected] - viktorfrom
- Mark Hakansson - [email protected] - markhakansson
- Gustav Hansson - [email protected] - 97gushan
Licensed under the MIT license. See LICENSE for details.