-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: introduce node health as a metric #2070
Comments
Some notes:
Follow up to this feature would be to develop strategies for recovery from mentioned health states: #2076 |
I feel like 2 nodes might not be enough for calling the state sufficiently healthy - we are working with decentrlaized peer-to-peer potentially unreliable connections:) |
thread: https://discord.com/channels/1110799176264056863/1263470028540346391/1263470032172613776 as we discussed it on PM - this can be approached differently, node can be considered it's the matter how we correlate individual healthiness of protocols by for js-waku in particular it should be an exceptional case when
given that js-waku will transition into fully healthy or fully unhealthy state eventually for implementation it seems only reasonable to expose health state per protocol and then combine |
This is a feature request
Problem
Based on the Reliability RFC,
Node health is a metric meant to determine the connectivity state of a light node and its present ability to reliably send and receive messages from the network. We consider this reliability to be dependent on amount of simultaneous connections to responsive service nodes. Unfortunately the more connections light node establishes - the more bandwidth is consumed. To address this we RECOMMEND following states:
unhealthy - no connections to service nodes are available regardless of protocol;
minimally healthy:
Filter has one service node connection;
LightPush protocol has one service node connection;
sufficiently healthy:
Filter has at least 2 connections available to service nodes;
LightPush has at least 2 connections available to service nodes;
Proposed Solutions
Introduce this as an API
Notes
The text was updated successfully, but these errors were encountered: