Skip to content
Snippets Groups Projects
Commit 2ffa70c3 authored by WinJ's avatar WinJ
Browse files

add config files

parent 142589c9
No related branches found
No related tags found
No related merge requests found
......@@ -28,15 +28,16 @@ Write-up
- How to compile, deploy and run your implementation
Config file to indicate the addresses of the paxos group: config.json
Spawn the paxos group based on the config file:
Spawn the paxos group based on the config file using:
python3 main.py
Start the client and send commands to a random paxos server based on the config file:
python3 client.py
lock 1
lock 2
unlock 1
...
exit
Start the client and send commands to a random paxos server based on the config file using:
python3 client.py client_host client_port
e.g. python3 client.py localhost 0
lock 1
lock 2
unlock 1
...
exit
- Any issues or scenarios explicitly not considered
If a client send a message and it gets dropped, we assume it was lost and won't be executed as clients won't resend messages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment