This project is a simple bank application that utilizes the standard consensus algorithm PAXOS.
This project is implemented in Go. To compile the application you need the following:
- cURL — latest version
- Go — version 1.17.x
- Docker Compose — version 1.29.x
You can either run the application locally or in a docker network. To run in an existing docker network:
docker build -t paxos_server -f bank_app/Dockerfile .
./ runx.sh
This command will run the application on x (3, 5, or 7) TCP servers. You can by issuing the following command interact with one of the servers:
docker run -h 3,:42237 -it --name cli2 --net paxos-lab5 --ip 172.28.1.10 --expose=42237 --rm paxos_server