- An implementation of Raft algorithm in distributed chat-room.
Distributed Chat room supported by Raft consensus algorithm.
python3 state_ini.py k # config for k servers.
python3 server.py # Run server, k servers at most.
python3 client.py i # Run client, connect to ith server
In Client interface, first type client ID and enter the chatroom. Then live chat begin. Type {quit} to quit chatroom.