Giter Site home page Giter Site logo

aalekhpatel07 / maelstrom-fly-io Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 4.29 MB

My attempts at https://fly.io/dist-sys/

License: MIT License

Rust 79.54% Python 10.21% Makefile 0.28% Go 9.97%
distributed-systems flyio jepsen jepsen-tests maelstrom

maelstrom-fly-io's Introduction

Gossip Glomers

This project contains my solutions for the Gossip Glomers: Distributed Systems programming challenge. It is a hybrid setup with the first few solutions being in Rust and a few in Golang. There's also a utility script that builds, and runs the solutions against Maelstrom.

Setup

TLDR; Install OpenJDK, GraphViz, and Gnuplot.

Note: You do not even have to install Maelstrom explicitly. If you're running a test for the first time, the ./run util should set that up for you automatically.

Usage

To run the Maelstrom tests, you can use the ./run executable:

./run 1 # Runs the echo challenge.
./run 2 3a 3b # Runs the Unique Id Generation challenge as well as the first two parts of the Broadcast challenge.

More info available: ./run --help

usage: MaelstromInvoker [-h] CHALLENGE_ID [CHALLENGE_ID ...]

Run the maelstrom tests for a given fly.io dist-sys challenge. Currently, the following challenges are implemented: - 01: Echo - 02: Unique ID Generation - 03a: Broadcast (Single Node) -
03b: Broadcast (Multi-Node)

positional arguments:
  CHALLENGE_ID  The ids of the challenges to run.

optional arguments:
  -h, --help    show this help message and exit

Contributing

Issues, pull requests, and Github stars are always appreciated!

maelstrom-fly-io's People

Contributors

aalekhpatel07 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

pocams

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.