Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dgurkaynak/stalk-demo-raft-consensus

An OpenTelemetry-instrumented demo app simulating Raft consensus algorithm
https://github.com/dgurkaynak/stalk-demo-raft-consensus

jaeger opentelemetry opentracing raft raft-consensus-algorithm zipkin

Last synced: 3 months ago
JSON representation

An OpenTelemetry-instrumented demo app simulating Raft consensus algorithm

Awesome Lists containing this project

README

        

# stalk-demo-raft-consensus

![Demo](./docs/readme-assets/demo.gif)

This is a demo application, instrumented with OpenTracing API, which simulates *(a naive version of)* [Raft distributed consensus algorithm](https://en.wikipedia.org/wiki/Raft_(computer_science)). Heavily inspired by [ongardie/raftscope](https://github.com/ongardie/raftscope).

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

You can export traces to [Stalk](https://github.com/dgurkaynak/stalk) with one click to visualize & inspect collected traces.

![A sample of collected traces](./docs/readme-assets/stalk-screenshot.png)

# 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