The idea was to create a dynamic distributed system with the inteligence to know the next better server to use when one that currently belongs to the quorum fails. To execute it:
- make
- ./table_server 8080 10 backup1 "in one terminal"
- ./table_server 8081 10 backup2 "in another terminal"
- ./table_server 8082 10 backup3 "in another terminal"
Now that you have the servers listening you can now execute a client program - ./table_client 1 127.0.0.1:8080 127.0.0.1:8081 127.0.0.1:8082 "and this is going to be a client of floor(n / 2) + 1 servers"
- Execute a few commands and then test if you crash a server if another becomes part of quorum :)