This is an distributed Chat System realized by Python, it will use Server-Client Model and will fullfil the requirments of
- Architecture model
- Dynamic discovery
- Fault tolerance
- Voting
- Ordered reliable multicast
- Open one terminal run the following to give permission
chmod +x ./run_servers.sh
chmod +x ./stop_all.sh
- Run
./run_servers.sh number
to start number of servers
- Open new terminal and run
python client.py
- write the message you wanna send in the running client terminal
- Repeat step 3 and 4 to add clients
- Open a new terminal and run
ps -T | grep server
to check all the running servers.
Runkill PID
to kill servers - Run
./stop_all
to kill all the threads