Skip to content

dgurkaynak/stalk-demo-raft-consensus

Repository files navigation

stalk-demo-raft-consensus

Demo

This is a demo application, instrumented with OpenTracing API, which simulates (a naive version of) Raft distributed consensus algorithm. Heavily inspired by ongardie/raftscope.

Available on: https://deniz.co/raft-consensus/

You can export traces to Stalk with one click to visualize & inspect collected traces.

A sample of collected traces

Building & Development

Development

You must have node.js >= 12 installed on your machine.

  • Clone the repo
  • Install dependencies: npm i
  • Get started with webpack-dev-server w/ live-reload: npm start

Building

  • Build the project in production mode: npm run build
  • Check out /dist folder for output