Skip to content

sebastko/paxos-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paxos-cpp

Toy implementation of Basic Paxos, on threads.

Compiled like this:

g++ -std=c++11 -mcx16 *.cpp -o paxos

Fun demo, showing one round of Paxos, is run like this:

./paxos

The implementation doesn't have a distinguished proposer (leader) - all proposers fight with each other to propose a random value. Majority of acceptors always end up agreeing on a single of these random values.

About

Toy implementation of Basic Paxos, on threads.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages