This is a distributed group membership protocol system. The system is implemented using Go, leveraging concurrency and distributed processing across multiple nodes in a network. This was done as a part of CS 425 (Distributed Systems) project.
- Ensure that you have Go Lang Installed on your machine.
- Clone this repo on each machine.
- cd into mp1-distributed-systems folder on all machines.
cd mp2-distributed-systems
- Start the introducer on machine 1 -
go run main.go introducer
- Ensure that your log files are present in the same directory on all machines. Example -
/root/
Now that the introducer is started, you can execute go run main.go and join from any of the machines but before that you have to follow these steps -
- Create a
.env
file in mp1-distributed-system folder and add the following on all machines-
INTRODUCER_ADDR=127.0.0.1
Enter the introducer IP / Hostname. For example -
INTRODUCER_ADDR=fa24-cs425-9201
This has to be performed once on the machine where the distributed disseminator is to be run. If you run distributed 2. Run main.go on the machine
go run main.go
Rishi Mundada ([email protected]) Daksh Pokar ([email protected])