Giter VIP home page Giter VIP logo

codewrinklesdb's People

Contributors

danpdc avatar

Watchers

 avatar

codewrinklesdb's Issues

Listening to Node advertisements

Given: A node that's actively listening for Node advertisements of new nodes wanting to join the system
When: A new message comes in from the Service Bus
Then:

  • The receiving Node checks if the message is older than 10 seconds. If it is, it does nothing
  • The receiveing Node checks the identity of the advertising Node based on its identifier
  • If the active node picks up the message that was generated by itself, it does nothing
  • If the node advertisement comes from any other node than itself, the active Node needs to do the following tasks
  • Checks if the advertised node is already persisted. If yes, the current node writes to WAL with LogTYpe NodeUpdate and updates the Node
  • If advertised Node is not persisted, the active node writes to WAL with LogType NodeInserted and persists the new Node

While implementing this, we need to make sure that each Node persits data about existing Nodes in two different ways:

  1. Nodes that sent advertising messages but that were not yet accepted in the system
  2. Nodes that ar actively part of the system

In this issue we concentrate only on persisting nodes that sent an advertisement, therefore, we'll only look in the nodes that are not yet accepted and perform the mentioned actions on that data store.

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.