1. 11
  1.  

  2. 3

    Jeppsen also has maelstrom package which you can use to validate a raft implementation.

    1. 2

      Disappointed this wasn’t about an actual raft. Still neat.

      1. 3

        technically a bunch of logs floating in the ocean is a distributed raft.

      2. 1

        Interesting post! Were all the bugs caught by MIT test suite?

        1. 1

          I guess it would be hard to know for sure if all bugs were caught, but IME the test suite was pretty rigorous. They’re more in the vein of “systems tests” or integration tests since they’re timing-dependent and opaque to the implementation.

          I wouldn’t consider my toy implementation to be production ready, but the provided test suite was rigorous enough to show me where I messed up