Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 917 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 917 Bytes

Simple Bank application

This project is a simple bank application that utilizes the standard consensus algorithm PAXOS.

Requirements

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

Run our bank application

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

Good luck :-)