8000 GitHub - sidsabh/MirageRaft: experiments on distributed unikernels
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sidsabh/MirageRaft

Repository files navigation

Core Raft Implementation

Build Instructions (Docker)

  1. Get the code, build the container (~5 minutes)
git clone https://github.com/sidsabh/MirageRaft.git && cd MirageRaft
sudo docker build -t mirage-raft .

OR

  1. Pull the Docker image
docker pull sidsabh/mirage-raft:mirage-raft
  1. Launch the frontend on the host network (blocking ports, spawning Raft Servers will all work per usual on localhost)
sudo docker run -it --network=host  mirage-raft #  sidsabh/mirage-raft:mirage-raft if you pulled from Docker Hub
  1. Cleanup if a run is still holding a port
sudo docker rm -f $(sudo docker ps -aq)

Build Instructions (manual)

  1. Install opam (includes OCaml compiler) via guide. Make sure ocamlc version >=4.14 (e.g., opam switch create 4.14.0 --yes)
  2. Install stuff from apt and opam:
sudo apt-get update && sudo apt-get install -y \
    curl \
    protobuf-compiler \
    pkg-config
opam install dune
opam install . --deps-only
opam install fmt --yes
  1. Launch via
make up
  1. run tests (demo here)

Distributed Unikernels

Demos

  1. Working Processes Linux
  2. Working QEMU VM Linux
  3. Working Xen VM Linux
  4. Working Unix Unikernel
  5. Working Xen Unikernel (the coolest)

Benchmarks

Workload Throughput Comparison Workload Resource Comparison

About

experiments on distributed unikernels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0