dgurkaynak / stalk-demo-raft-consensus

An OpenTelemetry-instrumented demo app simulating Raft consensus algorithm

Home Page:https://deniz.co/raft-consensus/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An OpenTelemetry-instrumented demo app simulating Raft consensus algorithm

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

License:MIT License


Languages

Language:TypeScript 97.2%Language:JavaScript 1.2%Language:CSS 1.1%Language:HTML 0.6%