Implementing Paxos: Simulating Consensus Protocols with Docker and Portainer
Recently I have been studying consensus protocols such as Paxos. I came across this article from Leslie Lamport. The paper is from the 2000s. I assume this was a big deal back then. But I thought that simulating some Paxos instances and implementing the algorithm on servers shouldn't be too difficult nowadays. So I
So I decided to implement it and deploy it using Docker and Portainer. So far I have just implemented some dummy Paxos servers, and a Docker Compose that creates four instances of them and deployed Docker Compose into my PC using Portainer.
Next I am going to implement the algorithm with the Paxos servers. Here is my public repo: https://github.com/aminehd/SimulatePaxos/tree/main/app
Hope you enjoy it and tune in for the rest of the development of the Paxos simulation.