Hacker News new | ask | show | jobs
by nvarsj 632 days ago
The best approach is to implement Paxos.

I suggest https://github.com/emichael/dslabs.

It will take 100-200 hours to fully implement with all tests passing.

1 comments

Bummer that it requires java. Would be awesome to have a 'networked' version where you just need to implement the protocol.
Usage of java is fine ime. It's the principles that matter. The main benefit of this project is the search based tests which thoroughly test your implementation for edge cases. There's nothing else quite like it - few people can successfully complete this project to 100%.
Yeah, that's the thing, I want to give this a go. I just hate Java.
Hah fair enough. The volume of code is low overall though so the language doesn't matter that much.