Git Product home page Git Product logo

slimcluster's People

Contributors

zarusz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

slimcluster's Issues

Raft - Block voting when node shutdown

In case of redeployments into Kubernetes the pod gets a signal to shut down, then new pods are created doubling the cluster size.
In this situation, the pods shutting down should block their voting mechanism to allow the cluster to converge quicker.

SWIM - Ability to send node leaving for gracefuly shutdown and faster cluster membership state

Currently when a node leaves (the app is shutdown normally) it will multicast this to other members.

An improvement could be done for a shutting down Node to:

  • Select N random members
  • Send the leave message to them
  • Shutdown gracefully

In such case the other nodes would get this gossip information and later disseminate it to other members in the cluster, thus avoiding the need for multicast or reliance on failure detection to detect an unavailable member.

Please let me know what you think?

Hi,

I trying to probe how much desire within the .NET community is it for this library to evolve further?

I had a need for distributed coordination within a distributed micro-service at one of m commercial projects I am part of.
We would benefit from having such a .NET library that would give us a good headstart on membership and coordination (consensus) to implement our business needs, and not have to spin our brains or time on solving the distributed problem (which this library meant to solve once it's said and done).

Back then I started the initial idea. Now, I wonder if this is still worth pursuing.

SWIM - An additional option to set a starter list of nodes to avoid multicast

Currently, when a Node joins it multicast the join to let other members it had joined.
Other members then send a welcome message with the current list of members, so that the Node can catch up on the cluster membership fast.

However, we could also provide an option where the initial list of few members is provided upfront as a configuration (bootstrap node list). This could work in some scenarios and thus we could avoid the reliance on the multicast for the initial discovery.

ASP.NET Plugin that will redirect HTTP requests to the leader

Problem:
In some cases where the cluster nodes operate behind a load balancer (e.g. Kubernetes) and the client has no direct access to the internal network to address the leader node.

Solution:
We would like to be able to redirect an HTTP request made by the client to the leader node for handling.

That way clients hitting any node (leader or follower) will always have their request fulfilled by the leader.

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.