Client library for Maelstrom and solutions to the Fly.io distributed systems challenges - gossip glomers
  • OCaml 97.6%
  • Dune 2.4%
Find a file
Lucas Pluvinage 1975c354c3 3c done
2023-02-26 00:02:11 +01:00
bin fork off a fiber to ack response immediately 2023-02-26 00:01:23 +01:00
maelstrom add retry loop for resilience 2023-02-26 00:01:23 +01:00
.gitignore library to communicate with maelstrom 2023-02-25 14:19:05 +01:00
.ocamlformat please the CI 2023-02-25 18:20:24 +01:00
dist-sys-challenge.opam refine api and docs 2023-02-25 18:01:46 +01:00
dune-project refine api and docs 2023-02-25 18:01:46 +01:00
LICENSE refine api and docs 2023-02-25 18:01:46 +01:00
README.md 3c done 2023-02-26 00:02:11 +01:00

Fly.io distributed systems challenges - Gossip Glomers

An OCaml take on the distributed systems challenge using OCaml 5 and Eio. Maybe Irmin at some point.

Details on the challenge here: https://fly.io/dist-sys/

Networking is simulated using Maelstrom: https://github.com/jepsen-io/maelstrom. Nodes communicate using stdin/stdout which makes it easy to interoperate with OCaml programs.

In this repo I provide maelstrom, a library that facilitates the communication with Maelstrom by implementing the JSON-based protocol and providing some helpers.

In bin/ my solutions to the challenge (currently 1, 2, 3a, 3b, 3c).