Coder Social home page Coder Social logo

clusterviz's Issues

Implement an algorithm to check connectivity in our cluster

Problem

We would like to monitor if connectivity of our cluster is correct.

Solution

I played with some graph algorithms and figure out that we can describe our cluster in three states:

  1. green -- means that cluster forms a biconnected graph which means that even if one of our nodes goes down, our cluster still stays connected,
  2. yellow -- our cluster forms a connected graph, however, there is a threat that in case of a single node failure it stops being connected,
  3. red -- our cluster is disconnected.

Due to the fact that we run multiple Whisper nodes on a single server, connectivity should be checked on server and node levels (does a single server failure break the connectivity? does a single node failure break the connectivity?).

Ideally, we should do that for the whole cluster (both DO and GC fleets) and for each fleet separately. The latter in case one fleet is unavailable in some country or the DC goes down.

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.