Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

flappy node damping #11

Open
jwolski opened this issue Jan 24, 2015 · 0 comments
Open

flappy node damping #11

jwolski opened this issue Jan 24, 2015 · 0 comments

Comments

@jwolski
Copy link
Contributor

jwolski commented Jan 24, 2015

ringpop needs the ability to detect slow or flappy nodes and intentionally evict them from the cluster.

can we introduce a damping period akin to the suspect period? the period would be initiated if a node within the cluster had to assert itself as an 'alive' member over some yet-to-be-defined threshold. this node can mark itself 'damped' and generate an initial damping score based on the degree of flappiness. that score can then grow or decay based on behavior of the cluster over the damping period window. if the score does not decay enough the 'damped' node will eventually be marked as 'evicted'. evicted nodes must be removed from the ring (or ownership of the keyspace significantly reduced), but may still be part of the cluster membership and thus pinged periodically (but less frequently) as part of the protocol period.

Potential inspiration:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant