Configure and make use of some minimal node count for the network #40

Closed
opened 2025-12-28 18:13:51 +00:00 by sami · 5 comments
Owner

Originally created by @roman-khimov on GitHub (Apr 12, 2023).

I'm always frustrated when I see zero nodes on the network map and green "Healthy" sign at the same time. It's not healthy, it's horribly broken.

Describe the solution you'd like

Define some "HealthyNumberOfNodes" parameter for the app along with "DegradedNumberOfNodes" (4 and 2 for our current networks), display yellow "Degraded" on <HealthyNumberOfNodes and red Broken (or some better word) on <DegradedNumberOfNodes.

Describe alternatives you've considered

Not a lot of them. We can make NSPCC nodes special at the same time, but it doesn't seem to be required.

Originally created by @roman-khimov on GitHub (Apr 12, 2023). ## Is your feature request related to a problem? Please describe. I'm always frustrated when I see zero nodes on the network map and green "Healthy" sign at the same time. It's not healthy, it's horribly broken. ## Describe the solution you'd like Define some "HealthyNumberOfNodes" parameter for the app along with "DegradedNumberOfNodes" (4 and 2 for our current networks), display yellow "Degraded" on `<HealthyNumberOfNodes` and red `Broken` (or some better word) on `<DegradedNumberOfNodes`. ## Describe alternatives you've considered Not a lot of them. We can make NSPCC nodes special at the same time, but it doesn't seem to be required.
sami 2025-12-28 18:13:51 +00:00
Author
Owner

@mike-petrov commented on GitHub (Jul 12, 2023):

Some examples: status.digitalocean.com, status.dropbox.com, status.openai.com.

We can show status of each node separately: 1, 2, 3, 4, ...

image
@mike-petrov commented on GitHub (Jul 12, 2023): Some examples: [status.digitalocean.com](https://status.digitalocean.com/), [status.dropbox.com](https://status.dropbox.com/), [status.openai.com](https://status.openai.com/). We can show status of each node separately: 1, 2, 3, 4, ... <img width="1282" alt="image" src="https://github.com/nspcc-dev/status-fs-neo-org/assets/32885629/67269d70-21ed-493b-a278-968351d6e1c8">
Author
Owner

@roman-khimov commented on GitHub (Jul 18, 2023):

It's not appropriate for our case, nodes are homogeneous and we can have community nodes that we do not have any control over.

@roman-khimov commented on GitHub (Jul 18, 2023): It's not appropriate for our case, nodes are homogeneous and we can have community nodes that we do not have any control over.
Author
Owner

@mike-petrov commented on GitHub (Jul 19, 2023):

As far as I understand we don't have these metrics in json, how do we want to add them?

@mike-petrov commented on GitHub (Jul 19, 2023): As far as I understand we don't have these metrics in [json](https://status.fs.neo.org/output.json), how do we want to add them?
Author
Owner

@roman-khimov commented on GitHub (Jul 19, 2023):

Do we have any other per-network configuration data? It'd be more appropriate there.

@roman-khimov commented on GitHub (Jul 19, 2023): Do we have any other per-network configuration data? It'd be more appropriate there.
Author
Owner

@roman-khimov commented on GitHub (Jul 20, 2023):

Yeah, you can fix in in get_webstat_metrics.py, normally we have 4 nodes on testnet and 5 on mainnet, anything below that is degraded and less than 3 (testnet) or 4 (mainnet) nodes is Unhealthy.

We also need some status line (the reason for degraded/unknown/unhealthy). It can be displayed below the status itself (omitted for the healthy case).

@roman-khimov commented on GitHub (Jul 20, 2023): Yeah, you can fix in in `get_webstat_metrics.py`, normally we have 4 nodes on testnet and 5 on mainnet, anything below that is degraded and less than 3 (testnet) or 4 (mainnet) nodes is `Unhealthy`. We also need some status line (the reason for degraded/unknown/unhealthy). It can be displayed below the status itself (omitted for the healthy case).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/status-fs-neo-org#40
No description provided.