Skip to content

fcrlab-unime/paxos-demo

 
 

Repository files navigation

Paxos Demo

This Paxos demo is intended for learning purposes. This Paxos cluster has 5 nodes, which only has the capability to write one value once, and all subsequent queries must be reads. Figuring out how to extend the algorithm to support storing multiple key-value pairs, override an existing value, and other features are left as an exercise to the reader (because I can't be bothered to implement more features).

The implementation is based on the algorithm described in the Paxos Made Simple paper.

To run yourself:

git clone https://github.com/echentw/paxos-demo
cd paxos-demo/
npm install
npm start

Then open index.html with your browser.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.7%
  • SCSS 10.6%
  • HTML 7.5%
  • JavaScript 2.2%
  • CSS 2.0%