3 ms·
The best approach is to implement Paxos. I suggest https://github.com/emichael/dslabs https://github.com/emichael/dslabs. It will take 100-200 hours to fully
by nvarsj 2y ago
The best approach is to implement Paxos.
I suggest https://github.com/emichael/dslabs https://github.com/emichael/dslabs.
It will take 100-200 hours to fully implement with all tests passing.
- withinboredom 2y agoBummer that it requires java. Would be awesome to have a 'networked' version where you just need to implement the protocol.
- nvarsj 2y agoUsage 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%.
- withinboredom 2y agoYeah, that's the thing, I want to give this a go. I just hate Java.
- nvarsj 2y agoHah fair enough. The volume of code is low overall though so the language doesn't matter that much.